From: Maxim Dounin Date: Mon, 14 Nov 2011 13:21:10 +0000 (+0000) Subject: Fixed Upgrade header clearing with proxy_cache. X-Git-Tag: release-1.1.8~8 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=86a851907b015ed748d8907aadc4b76c1a77bdde;p=nginx.git Fixed Upgrade header clearing with proxy_cache. This was missed in proxy HTTP/1.1 support commit (r4127). --- diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index d8f714778..5476f396e 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -543,6 +543,7 @@ static ngx_keyval_t ngx_http_proxy_cache_headers[] = { { ngx_string("Connection"), ngx_string("close") }, { ngx_string("Keep-Alive"), ngx_string("") }, { ngx_string("Expect"), ngx_string("") }, + { ngx_string("Upgrade"), ngx_string("") }, { ngx_string("If-Modified-Since"), ngx_string("") }, { ngx_string("If-Unmodified-Since"), ngx_string("") }, { ngx_string("If-None-Match"), ngx_string("") },