aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-07-22 22:16:19 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-07-22 22:16:19 +0300
commit4dd43dfca71f3fc2c6768606ff3700a4317a9176 (patch)
treefaae0fa4a7d59bbe5a1de1d0820cf1739b416861 /src/http/ngx_http_request.c
parent80daef96f1e1de397b8bc455ac3a3fbc060607cf (diff)
downloadnginx-4dd43dfca71f3fc2c6768606ff3700a4317a9176.tar.gz
nginx-4dd43dfca71f3fc2c6768606ff3700a4317a9176.zip
Xslt: disabled ranges.
Previously, the document generated by the xslt filter was always fully sent to client even if a range was requested and response status was 206 with appropriate Content-Range. The xslt module is unable to serve a range because of suspending the header filter chain. By the moment full response xml is buffered by the xslt filter, range header filter is not called yet, but the range body filter has already been called and did nothing. The fix is to disable ranges by resetting the r->allow_ranges flag much like the image filter that employs a similar technique.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions