This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 2d6e39e4c638a1a3e55148901748bf989c08d226 Author: Randall Meyer <[email protected]> AuthorDate: Sat Oct 4 14:07:03 2025 -0700 Fixes sni.yaml-configured initial window size (#12531) Without this fix, the sni.yaml configured http2_initial_window size is never sent to the client. (cherry picked from commit 7f1c000bd89e690df21debc01fecab7df6f651d7) --- src/proxy/http2/Http2ConnectionState.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/proxy/http2/Http2ConnectionState.cc b/src/proxy/http2/Http2ConnectionState.cc index af331ad18c..56c43a09f5 100644 --- a/src/proxy/http2/Http2ConnectionState.cc +++ b/src/proxy/http2/Http2ConnectionState.cc @@ -1369,10 +1369,7 @@ Http2ConnectionState::send_connection_preface() configured_settings.set(HTTP2_SETTINGS_MAX_CONCURRENT_STREAMS, _adjust_concurrent_stream()); uint32_t const configured_initial_window_size = this->_get_configured_receive_session_window_size(); - if (this->_has_dynamic_stream_window()) { - // Since this is the beginning of the connection and there are no streams - // yet, we can just set the stream window size to fill the entire session - // window size. + if (configured_initial_window_size > HTTP2_INITIAL_WINDOW_SIZE) { configured_settings.set(HTTP2_SETTINGS_INITIAL_WINDOW_SIZE, configured_initial_window_size); }
