]> git.kaiwu.me - nginx.git/commit
Upstream: header handlers can now return parsing errors.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 May 2022 18:25:48 +0000 (21:25 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 30 May 2022 18:25:48 +0000 (21:25 +0300)
commitd22157fade0c3dc05b860be8d7e3eff4a56cb7d3
tree61d9ccdee35fca145d8290e8aee8ea45603c3e19
parent268f0cba8887ba77b6a2c97a8732df2784fe6001
Upstream: header handlers can now return parsing errors.

With this change, duplicate Content-Length and Transfer-Encoding headers
are now rejected.  Further, responses with invalid Content-Length or
Transfer-Encoding headers are now rejected, as well as responses with both
Content-Length and Transfer-Encoding.
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_grpc_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c
src/http/ngx_http_upstream.c