changeset 4276:a0f18c78db3b

Fixed Upgrade header clearing with proxy_cache. This was missed in proxy HTTP/1.1 support commit (r4127).
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 14 Nov 2011 13:21:10 +0000
parents bb909c0c8629
children e4b8255e44c3
files src/http/modules/ngx_http_proxy_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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_cach
     { 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("") },