mirror of
https://github.com/nginx/nginx.git
synced 2025-01-05 21:53:01 -06:00
disable ranges, because xslt filter runs after range body filter
This commit is contained in:
parent
e24b57ad9f
commit
f36ae41e36
@ -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->headers_out.content_length = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
r->allow_ranges = 1;
|
|
||||||
|
|
||||||
rc = ngx_http_next_header_filter(r);
|
rc = ngx_http_next_header_filter(r);
|
||||||
|
|
||||||
if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) {
|
if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) {
|
||||||
|
Loading…
Reference in New Issue
Block a user