Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_chunked_filter_module.c @ 102:f63280c59dd5 NGINX_0_2_5
nginx 0.2.5
*) Change: the duplicate value of the ngx_http_geo_module variable now
causes the warning and changes old value.
*) Feature: the ngx_http_ssi_module supports the "set" command.
*) Feature: the ngx_http_ssi_module supports the "file" parameter in
the "include" command.
*) Feature: the ngx_http_ssi_module supports the variable value
substitutions in expressions of the "if" command.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 04 Oct 2005 00:00:00 +0400 |
parents | 71c46860eb55 |
children | 36af50a5582d |
comparison
equal
deleted
inserted
replaced
101:5bb09dde34e7 | 102:f63280c59dd5 |
---|---|
48 | 48 |
49 | 49 |
50 static ngx_int_t | 50 static ngx_int_t |
51 ngx_http_chunked_header_filter(ngx_http_request_t *r) | 51 ngx_http_chunked_header_filter(ngx_http_request_t *r) |
52 { | 52 { |
53 if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED || r->main) { | 53 if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED || r->main != r) { |
54 return ngx_http_next_header_filter(r); | 54 return ngx_http_next_header_filter(r); |
55 } | 55 } |
56 | 56 |
57 if (r->headers_out.content_length_n == -1) { | 57 if (r->headers_out.content_length_n == -1) { |
58 if (r->http_version < NGX_HTTP_VERSION_11) { | 58 if (r->http_version < NGX_HTTP_VERSION_11) { |