Mercurial > hg > nginx
diff src/http/modules/ngx_http_range_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 | dd1570b6f237 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_range_filter_module.c +++ b/src/http/modules/ngx_http_range_filter_module.c @@ -151,6 +151,7 @@ ngx_http_range_header_filter(ngx_http_re if (r->http_version < NGX_HTTP_VERSION_10 || r->headers_out.status != NGX_HTTP_OK + || r != r->main || r->headers_out.content_length_n == -1 || !r->allow_ranges) {