aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_sendfile_chain.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2014-11-19 17:33:23 +0300
committerRoman Arutyunyan <arut@nginx.com>2014-11-19 17:33:23 +0300
commit8898c97dbd493d1e8adcfaacdd6d19e8b471c2d3 (patch)
tree277572925380ec1e1ff31daf2ab1a2df9e032c4f /src/os/unix/ngx_linux_sendfile_chain.c
parentbcf6b11a347303960003970614d1556c73bde4ae (diff)
downloadnginx-8898c97dbd493d1e8adcfaacdd6d19e8b471c2d3.tar.gz
nginx-8898c97dbd493d1e8adcfaacdd6d19e8b471c2d3.zip
Upstream: different header lists for cached and uncached requests.
The upstream modules remove and alter a number of client headers before sending the request to upstream. This set of headers is smaller or even empty when cache is disabled. It's still possible that a request in a cache-enabled location is uncached, for example, if cache entry counter is below min_uses. In this case it's better to alter a smaller set of headers and pass more client headers to backend unchanged. One of the benefits is enabling server-side byte ranges in such requests.
Diffstat (limited to 'src/os/unix/ngx_linux_sendfile_chain.c')
0 files changed, 0 insertions, 0 deletions