Mercurial > hg > nginx
diff src/http/modules/ngx_http_chunked_filter_module.c @ 3331:e0bc43a52382
backout r3325: postpone filter is a body only filter
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 Nov 2009 13:22:10 +0000 |
parents | 616da2ea901f |
children | 50ad44defdbb |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_chunked_filter_module.c Mon Nov 16 12:50:10 2009 +0000 +++ b/src/http/modules/ngx_http_chunked_filter_module.c Mon Nov 16 13:22:10 2009 +0000 @@ -53,6 +53,7 @@ if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED || r->headers_out.status == NGX_HTTP_NO_CONTENT || r->headers_out.status == NGX_HTTP_CREATED + || r != r->main || (r->method & NGX_HTTP_HEAD)) { return ngx_http_next_header_filter(r);