]> git.kaiwu.me - nginx.git/commit
Proxy: reset pending control frames on HTTP/2 upstream reinit.
authorDavid Carlier <devnexen@gmail.com>
Thu, 19 Feb 2026 07:26:42 +0000 (07:26 +0000)
committerSergey Kandaurov <s.kandaurov@f5.com>
Mon, 16 Mar 2026 07:37:33 +0000 (11:37 +0400)
commitbcd1a01d3bf54fb20de23356df0a23aa16487fd5
tree070a1d102b6ca35e117473dc1b3eeb15408b1afd
parente23e7dd83a75b073773c3bc1e57bdb36c27bcc3f
Proxy: reset pending control frames on HTTP/2 upstream reinit.

Previously, ctx->out was not cleared in ngx_http_proxy_v2_reinit_request(),
which could cause stale HTTP/2 control frames (SETTINGS ACK, PING ACK,
WINDOW_UPDATE) queued for the old upstream connection to be sent to a new
upstream connection during a retry.
src/http/modules/ngx_http_proxy_v2_module.c