This commit is contained in:
Micael Afonso 2025-12-16 22:06:15 +00:00 committed by GitHub
commit 235fce66fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -4333,7 +4333,9 @@ ngx_http_v2_read_client_request_body_handler(ngx_http_request_t *r)
window = buf->end - buf->start;
if (h2c->state.stream == stream) {
if (h2c->state.stream == stream
&& h2c->state.handler == ngx_http_v2_state_read_data)
{
window -= h2c->state.length;
}