diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-12-09 18:20:19 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-12-09 18:20:19 +0300 |
commit | 88ed2d39afcc00d46a640de542f6b491413e38d6 (patch) | |
tree | 522e76bc9407ae031b9d48446f1518d7e6de0203 /src/http/modules/ngx_http_proxy_module.c | |
parent | 1ea64b3f8ffac75f27051a3ce1cdf584393ed2f1 (diff) |
Proxy: the "TE" header now stripped by default (ticket #537).
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 41bf1c91f..78961babd 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -715,6 +715,7 @@ static ngx_keyval_t ngx_http_proxy_headers[] = { { 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 @@ static ngx_keyval_t ngx_http_proxy_cache_headers[] = { { 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("") }, |