mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Disabled multiple Transfer-Encoding headers.
We anyway do not support more than one transfer encoding, so accepting requests with multiple Transfer-Encoding headers doesn't make sense. Further, we do not handle multiple headers, and ignore anything but the first header. Reported by Filippo Valsorda.
This commit is contained in:
parent
de5a054b33
commit
e64d798edb
@ -131,7 +131,7 @@ ngx_http_header_t ngx_http_headers_in[] = {
|
||||
|
||||
{ ngx_string("Transfer-Encoding"),
|
||||
offsetof(ngx_http_headers_in_t, transfer_encoding),
|
||||
ngx_http_process_header_line },
|
||||
ngx_http_process_unique_header_line },
|
||||
|
||||
{ ngx_string("TE"),
|
||||
offsetof(ngx_http_headers_in_t, te),
|
||||
|
Loading…
Reference in New Issue
Block a user