Mercurial > hg > nginx
changeset 5936:2d3908516101
Proxy: the "TE" header now stripped by default (ticket #537).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 09 Dec 2014 18:20:19 +0300 |
parents | 1573fc7875fa |
children | 5b9f711dc819 |
files | src/http/modules/ngx_http_proxy_module.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c Wed Nov 26 18:35:37 2014 -0800 +++ b/src/http/modules/ngx_http_proxy_module.c Tue Dec 09 18:20:19 2014 +0300 @@ -715,6 +715,7 @@ { ngx_string("Host"), ngx_string("$proxy_host") }, { ngx_string("Connection"), ngx_string("close") }, { ngx_string("Content-Length"), ngx_string("$proxy_internal_body_length") }, + { ngx_string("TE"), ngx_string("") }, { ngx_string("Transfer-Encoding"), ngx_string("") }, { ngx_string("Keep-Alive"), ngx_string("") }, { ngx_string("Expect"), ngx_string("") }, @@ -742,6 +743,7 @@ { ngx_string("Host"), ngx_string("$proxy_host") }, { ngx_string("Connection"), ngx_string("close") }, { ngx_string("Content-Length"), ngx_string("$proxy_internal_body_length") }, + { ngx_string("TE"), ngx_string("") }, { ngx_string("Transfer-Encoding"), ngx_string("") }, { ngx_string("Keep-Alive"), ngx_string("") }, { ngx_string("Expect"), ngx_string("") },