]> git.kaiwu.me - nginx.git/commit
HTTP/2: fixed INITIAL_WINDOW_SIZE with saved state
authorZhidao HONG <z.hong@f5.com>
Mon, 1 Jun 2026 08:41:33 +0000 (08:41 +0000)
committerhongzhidao <hongzhidao@gmail.com>
Tue, 14 Jul 2026 12:38:57 +0000 (20:38 +0800)
commit5f92d7afb8b55f9ae5bb67256fa52f96c59eda3e
tree216b47660ed42c187e42ba30430dd2ee8237ec14
parentdb9ba42db8d46dbc86af4ead10c1a256dd4144f6
HTTP/2: fixed INITIAL_WINDOW_SIZE with saved state

The window size change was previously kept in a local variable while
processing SETTINGS parameters.  If parsing was suspended after
SETTINGS_INITIAL_WINDOW_SIZE, the value was lost on resume and was
acknowledged without being applied.

Store the initial window size change in the HTTP/2 state until the
SETTINGS frame is fully processed.
src/http/v2/ngx_http_v2.c
src/http/v2/ngx_http_v2.h