Merge pull request #33745 from alaatm/fix_default_window_size

Fix incorrect http/2 Kestrel's default stream window size
pull/33741/head
Rick Anderson 2024-10-03 15:57:13 -10:00 committed by GitHub
commit 7a5461c347
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ builder.WebHost.ConfigureKestrel(options =>
Recommendations:
* If a gRPC service often receives messages larger than 96 KB, Kestrel's default stream window size, then consider increasing the connection and stream window size.
* If a gRPC service often receives messages larger than 768 KB, Kestrel's default stream window size, then consider increasing the connection and stream window size.
* The connection window size should always be equal to or greater than the stream window size. A stream is part of the connection, and the sender is limited by both.
For more information about how flow control works, see [HTTP/2 Flow Control (blog post)](https://medium.com/coderscorner/http-2-flow-control-77e54f7fd518).