This commit is contained in:
Micael Afonso 2026-01-30 03:27:22 +00:00 committed by GitHub
commit 62fd60c00b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
}