Welcome! Log In Create A New Profile

Advanced

[nginx] Proxy: the "TE" header now stripped by default (ticket #...

Maxim Dounin
December 09, 2014 10:22AM
details: http://hg.nginx.org/nginx/rev/2d3908516101
branches:
changeset: 5936:2d3908516101
user: Maxim Dounin <mdounin@mdounin.ru>
date: Tue Dec 09 18:20:19 2014 +0300
description:
Proxy: the "TE" header now stripped by default (ticket #537).

diffstat:

src/http/modules/ngx_http_proxy_module.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
--- 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_head
{ 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_cach
{ 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("") },

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Proxy: the "TE" header now stripped by default (ticket #...

Maxim Dounin 609 December 09, 2014 10:22AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready