summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2026-01-30 17:06:38 +0400
committerSergey Kandaurov <s.kandaurov@f5.com>2026-02-17 17:45:29 +0400
commitec714d52bd4914d52a113234c16e1855d9ac7dcf (patch)
tree6256282177d526a0cd885b14f78cce13f8c8bfea /src/http/modules/ngx_http_proxy_module.c
parentbf0508fabfbfa2fa778edbf5b94d5c54a952156d (diff)
downloadnginx-ec714d52bd4914d52a113234c16e1855d9ac7dcf.tar.gz
nginx-ec714d52bd4914d52a113234c16e1855d9ac7dcf.tar.bz2
SCGI: fixed passing CONTENT_LENGTH in unbuffered mode.
Passing requests to SCGI uses a recalculated size of a request body as per changes made in d60b8d10f (1.3.9) to support CONTENT_LENGTH with chunked body requests. This, however, is not compatible with unbuffered mode introduced later in 7ec559df5 (1.7.11), where such an approach may not always represent complete request body. The fix is to use r->headers_in.content_length_n representing either original Content-Length, if any, or a recalculated value from request body filters, such as chunked body filter. Reported by Mufeed VH.
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
0 files changed, 0 insertions, 0 deletions