[nginx] svn commit: r4277 - trunk/src/http/modules

mdounin at mdounin.ru mdounin at mdounin.ru
Mon Nov 14 13:21:11 UTC 2011


Author: mdounin
Date: 2011-11-14 13:21:10 +0000 (Mon, 14 Nov 2011)
New Revision: 4277

Log:
Fixed Upgrade header clearing with proxy_cache.

This was missed in proxy HTTP/1.1 support commit (r4127).


Modified:
   trunk/src/http/modules/ngx_http_proxy_module.c

Modified: trunk/src/http/modules/ngx_http_proxy_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_proxy_module.c	2011-11-14 13:19:56 UTC (rev 4276)
+++ trunk/src/http/modules/ngx_http_proxy_module.c	2011-11-14 13:21:10 UTC (rev 4277)
@@ -543,6 +543,7 @@
     { 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("") },



More information about the nginx-devel mailing list