Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_proxy_module.c @ 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 | 99437094e86f |
comparison
equal
deleted
inserted
replaced
4275:bb909c0c8629 | 4276:a0f18c78db3b |
---|---|
541 static ngx_keyval_t ngx_http_proxy_cache_headers[] = { | 541 static ngx_keyval_t ngx_http_proxy_cache_headers[] = { |
542 { ngx_string("Host"), ngx_string("$proxy_host") }, | 542 { ngx_string("Host"), ngx_string("$proxy_host") }, |
543 { ngx_string("Connection"), ngx_string("close") }, | 543 { ngx_string("Connection"), ngx_string("close") }, |
544 { ngx_string("Keep-Alive"), ngx_string("") }, | 544 { ngx_string("Keep-Alive"), ngx_string("") }, |
545 { ngx_string("Expect"), ngx_string("") }, | 545 { ngx_string("Expect"), ngx_string("") }, |
546 { ngx_string("Upgrade"), ngx_string("") }, | |
546 { ngx_string("If-Modified-Since"), ngx_string("") }, | 547 { ngx_string("If-Modified-Since"), ngx_string("") }, |
547 { ngx_string("If-Unmodified-Since"), ngx_string("") }, | 548 { ngx_string("If-Unmodified-Since"), ngx_string("") }, |
548 { ngx_string("If-None-Match"), ngx_string("") }, | 549 { ngx_string("If-None-Match"), ngx_string("") }, |
549 { ngx_string("If-Match"), ngx_string("") }, | 550 { ngx_string("If-Match"), ngx_string("") }, |
550 { ngx_string("Range"), ngx_string("") }, | 551 { ngx_string("Range"), ngx_string("") }, |