]> git.kaiwu.me - nginx.git/commit
Upstream: fixed parsing of split status lines
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 29 Apr 2026 19:02:20 +0000 (23:02 +0400)
committerSergey Kandaurov <s.kandaurov@f5.com>
Wed, 13 May 2026 17:20:55 +0000 (21:20 +0400)
commit39d7d0ba0799fcff6baee52b6525f45739593cfd
tree0eb09a11d2815c5a121dcdccd6d0054a602184ce
parentbaef7fdac28e4e1fe26509b50b8d15603393e28e
Upstream: fixed parsing of split status lines

If the first response line was split across reads and it didn't appear
a status line, the portion already processed was lost.  To preserve ABI,
the change reuses r->header_name_start for proper backtracking on status
line fallback.
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c