mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-25 04:47:50 +00:00
Motivation: When the remote peer changes SETTINGS_INITIAL_WINDOW_SIZE, this change affects the flow control window sizes of all existing streams (as though they were created with this new initial window size). We should respect those flow control changes. Modifications: - Propagated changes in SETTINGS_INITIAL_WINDOW_SIZE. - Made NIOHTTP2ConnectionStateChange internal. - Added support for changing initial window size. Result: SETTINGS frames that change initial window size now work properly.