Commit 3722892
committed
feat(volo-grpc): expose http2_max_pending_accept_reset_streams on Server
hyper/h2 already supports capping the number of remotely-reset streams
pending acceptance before closing the connection, but volo-grpc's
gRPC server didn't expose it. Under load, servers hit hyper's default
limit (20) and log repeated "remotely-reset pending-accept streams
reached limit" warnings with no way to raise it.
Adds Server::http2_max_pending_accept_reset_streams, following the
same Http2Config passthrough pattern as the other http2_* setters
(http2_max_concurrent_streams, http2_max_header_list_size, etc).
Default is unchanged (None, i.e. hyper's own default).
Closes #6571 parent 43dd124 commit 3722892
1 file changed
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
182 | 192 | | |
183 | 193 | | |
184 | 194 | | |
| |||
418 | 428 | | |
419 | 429 | | |
420 | 430 | | |
421 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
422 | 435 | | |
423 | 436 | | |
424 | 437 | | |
| |||
510 | 523 | | |
511 | 524 | | |
512 | 525 | | |
| 526 | + | |
513 | 527 | | |
514 | 528 | | |
515 | 529 | | |
| |||
525 | 539 | | |
526 | 540 | | |
527 | 541 | | |
| 542 | + | |
528 | 543 | | |
529 | 544 | | |
530 | 545 | | |
531 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
0 commit comments