Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_not_modified_filter_module.c @ 544:40c366b3535c NGINX_0_8_24
nginx 0.8.24
*) Bugfix: nginx always added "Content-Encoding: gzip" response header
line in 304 responses sent by ngx_http_gzip_static_module.
*) Bugfix: nginx could not be built without the --with-debug option;
the bug had appeared in 0.8.23.
*) Bugfix: the "unix:" parameter of the "set_real_ip_from" directive
inherited incorrectly from previous level.
*) Bugfix: in resolving empty name.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 11 Nov 2009 00:00:00 +0300 |
parents | 549994537f15 |
children | 3036c1836a24 |
comparison
equal
deleted
inserted
replaced
543:48b3f4b6bc38 | 544:40c366b3535c |
---|---|
86 r->headers_out.status_line.len = 0; | 86 r->headers_out.status_line.len = 0; |
87 r->headers_out.content_type.len = 0; | 87 r->headers_out.content_type.len = 0; |
88 ngx_http_clear_content_length(r); | 88 ngx_http_clear_content_length(r); |
89 ngx_http_clear_accept_ranges(r); | 89 ngx_http_clear_accept_ranges(r); |
90 | 90 |
91 if (r->headers_out.content_encoding) { | |
92 r->headers_out.content_encoding->hash = 0; | |
93 r->headers_out.content_encoding = NULL; | |
94 } | |
95 | |
91 return ngx_http_next_header_filter(r); | 96 return ngx_http_next_header_filter(r); |
92 } | 97 } |
93 | 98 |
94 | 99 |
95 static ngx_int_t | 100 static ngx_int_t |