summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-05-25 09:06:29 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-05-25 09:06:29 +0000
commit60190068ab90c5b253c76b94c6c38d0b2489b15c (patch)
tree8365e9dd5d249b1629b230057312d52e5a6c6467 /src/http/ngx_http_upstream.c
parent77fd67cc3884b29bce6bb40c68e1236e84f7c816 (diff)
downloadnginx-60190068ab90c5b253c76b94c6c38d0b2489b15c.tar.gz
nginx-60190068ab90c5b253c76b94c6c38d0b2489b15c.tar.bz2
reset content_type hash value, this fixes a bug when XSLT responses
could not be processed by SSI, charset, and gzip filters
Diffstat (limited to 'src/http/ngx_http_upstream.c')
-rw-r--r--src/http/ngx_http_upstream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index d789d6cb9..eb839e11b 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -3174,6 +3174,7 @@ ngx_http_upstream_copy_content_type(ngx_http_request_t *r, ngx_table_elt_t *h,
r->headers_out.content_type_len = h->value.len;
r->headers_out.content_type = h->value;
+ r->headers_out.content_type_lowcase = NULL;
for (p = h->value.data; *p; p++) {