Mercurial > hg > nginx-mail
comparison src/http/modules/ngx_http_chunked_filter_module.c @ 146:36af50a5582d NGINX_0_3_20
nginx 0.3.20
*) Bugfix: in SSI handling.
*) Bugfix: the ngx_http_memcached_module did not support the keys in
the "/usr?args" form.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 11 Jan 2006 00:00:00 +0300 |
parents | f63280c59dd5 |
children | b922c231a392 |
comparison
equal
deleted
inserted
replaced
145:85a84f8da62b | 146:36af50a5582d |
---|---|
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 != r) { | 53 if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED || r != r->main) { |
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) { |