Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
2881:13b63d682228 | 2882:896db5a09bd2 |
---|---|
3172 { | 3172 { |
3173 u_char *p, *last; | 3173 u_char *p, *last; |
3174 | 3174 |
3175 r->headers_out.content_type_len = h->value.len; | 3175 r->headers_out.content_type_len = h->value.len; |
3176 r->headers_out.content_type = h->value; | 3176 r->headers_out.content_type = h->value; |
3177 r->headers_out.content_type_lowcase = NULL; | |
3177 | 3178 |
3178 for (p = h->value.data; *p; p++) { | 3179 for (p = h->value.data; *p; p++) { |
3179 | 3180 |
3180 if (*p != ';') { | 3181 if (*p != ';') { |
3181 continue; | 3182 continue; |