-
Notifications
You must be signed in to change notification settings - Fork 844
Description
Noticed this while debugging HTTP/2 to origin. Traffic Server provides proxy.config.http2.initial_window_size_in to change the initial window size from the default of 65536. However, this value is used for both the stream window and the session window. So any single stream can overrun the shared session window.
Looking at window values from our clients, it seems that many clients will have a higher session window than the stream window.
For my testing, I just multiplied the session window by 50. That plus greatly increasing the stream window size, got my test scenario working (one ATS level using a H2 connection to another ATS level to interleave streams from many client requests).
I propose that we add a second setting to control the session window. It could be a multiplier, e.g proxy.config.http2.session_window_multiplier_in, or just an explicit session window setting, e.g., proxy.config.http2.session initial_window_size_in. If the session version of the setting is not set, the stream version will be used as it is in the current code.
I would appreciate your thoughts on this.