]> git.kaiwu.me - nginx.git/commit
Proxy: fixed sending HTTP/2 buffered request body on next upstream.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 24 Dec 2025 18:59:40 +0000 (22:59 +0400)
committerSergey Kandaurov <s.kandaurov@f5.com>
Thu, 29 Jan 2026 10:52:41 +0000 (14:52 +0400)
commitcd12dc4f12489257e851654ec1883cf06fa0b095
tree7bb64d3056e361b366200d34283f9ef6feafe524
parent349c72e8588c9b6f36f69b7789b3c7aac7a1bbdc
Proxy: fixed sending HTTP/2 buffered request body on next upstream.

If a buffered request body wasn't fully sent, such as on early upstream
response or limited by flow control, unsent buffers could remain in the
input or busy chains when switching to the next upstream server.  This
resulted either in the invalid request sent or a stalled connection.

The fix is to reset chains similar to ngx_http_upstream_reinit().
src/http/modules/ngx_http_proxy_v2_module.c