Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_chunked_filter_module.c @ 412:b246022ef454 NGINX_0_7_18
nginx 0.7.18
*) Change: the "underscores_in_headers" directive; now nginx does not
allows underscores in a client request header line names.
*) Feature: the ngx_http_secure_link_module.
*) Feature: the "real_ip_header" directive supports any header.
*) Feature: the "log_subrequest" directive.
*) Feature: the $realpath_root variable.
*) Feature: the "http_502" and "http_504" parameters of the
"proxy_next_upstream" directive.
*) Bugfix: the "http_503" parameter of the "proxy_next_upstream" or
"fastcgi_next_upstream" directives did not work.
*) Bugfix: nginx might send a "Transfer-Encoding: chunked" heaer line
for HEAD requests.
*) Bugfix: now accept threshold depends on worker_connections.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 13 Oct 2008 00:00:00 +0400 |
parents | 38e7b94d63ac |
children | daf4847b43ff |
comparison
equal
deleted
inserted
replaced
411:b453a4324c60 | 412:b246022ef454 |
---|---|
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 | 53 if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED |
54 || r->headers_out.status == NGX_HTTP_NO_CONTENT | 54 || r->headers_out.status == NGX_HTTP_NO_CONTENT |
55 || r->headers_out.status == NGX_HTTP_CREATED | 55 || r->headers_out.status == NGX_HTTP_CREATED |
56 || r != r->main) | 56 || r != r->main |
57 || (r->method & NGX_HTTP_HEAD)) | |
57 { | 58 { |
58 return ngx_http_next_header_filter(r); | 59 return ngx_http_next_header_filter(r); |
59 } | 60 } |
60 | 61 |
61 if (r->headers_out.content_length_n == -1) { | 62 if (r->headers_out.content_length_n == -1) { |