diff src/http/ngx_http_upstream.c @ 2882:896db5a09bd2

reset content_type hash value, this fixes a bug when XSLT responses could not be processed by SSI, charset, and gzip filters
author Igor Sysoev <igor@sysoev.ru>
date Mon, 25 May 2009 09:06:29 +0000
parents 6e1941b321b7
children c7d57b539248 f892042956e3
line wrap: on
line diff
--- 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_
 
     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++) {