Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
Kestrel specifies a static value for the connection and stream window sizes. We've already had to increase the defaults once.
Describe the solution you'd like
Rather than increasing the defaults again (which consumes more resources and increase the risk of DoS), we should make the window size dynamic, as in HttpClient.
The window size should scale with the bandwidth delay product in order to be able accommodate fast connections with significant latency (e.g. transoceanic).
Additional context
No response