diff src/http/modules/ngx_http_range_filter_module.c @ 3324:616da2ea901f

remove subrequest test in range header, chunked, and header filters: they are run after postpone filter which sends data only in main request context
author Igor Sysoev <igor@sysoev.ru>
date Mon, 16 Nov 2009 12:13:17 +0000
parents 896db5a09bd2
children e0bc43a52382
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,7 +151,6 @@ 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)
     {