Mercurial > hg > nginx
comparison src/http/modules/ngx_http_chunked_filter_module.c @ 615:5ef026a2ac74 release-0.3.29
nginx-0.3.29-RELEASE import
*) Feature: now nginx uses less memory, if PHP in FastCGI mode sends
many warnings before the response.
*) Bugfix: the "Transfer-Encoding: chunked" header line was issued in
the 204 responses for the HTTP/1.1 requests.
*) Bugfix: nginx returned the 502 response, if the complete response
header lines were transferred in a separate FastCGI records.
*) Bugfix: if the proxied URI was specified in the "post_action"
directive, then it ran only after a successful completion of a
request.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 20 Feb 2006 16:48:17 +0000 |
parents | 9262f520ce21 |
children | 65bf042c0b4f |
comparison
equal
deleted
inserted
replaced
614:790c134e002d | 615:5ef026a2ac74 |
---|---|
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 != r->main) { | 53 if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED |
54 || r->headers_out.status == NGX_HTTP_NO_CONTENT | |
55 || r != r->main) | |
56 { | |
54 return ngx_http_next_header_filter(r); | 57 return ngx_http_next_header_filter(r); |
55 } | 58 } |
56 | 59 |
57 if (r->headers_out.content_length_n == -1) { | 60 if (r->headers_out.content_length_n == -1) { |
58 if (r->http_version < NGX_HTTP_VERSION_11) { | 61 if (r->http_version < NGX_HTTP_VERSION_11) { |