disable ranges, because xslt filter runs after range body filter

This commit is contained in:
Igor Sysoev 2008-08-06 09:38:34 +00:00
parent e24b57ad9f
commit f36ae41e36

View File

@ -339,8 +339,6 @@ ngx_http_xslt_send(ngx_http_request_t *r, ngx_http_xslt_filter_ctx_t *ctx,
r->headers_out.content_length = NULL;
}
r->allow_ranges = 1;
rc = ngx_http_next_header_filter(r);
if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) {