# HG changeset patch # User Maxim Dounin # Date 1321276870 0 # Node ID a0f18c78db3b5898dab59fd74f208242f7b00ff2 # Parent bb909c0c8629f3d46e1aa6b735da05b3cb52361c 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 --- 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("") },