Mercurial > hg > nginx
diff src/http/modules/ngx_http_chunked_filter.c @ 135:e29909bd9b8a
nginx-0.0.1-2003-09-28-23:29:06 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 28 Sep 2003 19:29:06 +0000 |
parents | d7f606e25b99 |
children | c71aeb75c071 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_chunked_filter.c Fri Sep 26 05:45:21 2003 +0000 +++ b/src/http/modules/ngx_http_chunked_filter.c Sun Sep 28 19:29:06 2003 +0000 @@ -35,6 +35,10 @@ static int ngx_http_chunked_header_filter(ngx_http_request_t *r) { + if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED) { + return next_header_filter(r); + } + if (r->headers_out.content_length == -1) { if (r->http_version < NGX_HTTP_VERSION_11) { r->keepalive = 0;