aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_files.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2011-11-18 15:09:08 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2011-11-18 15:09:08 +0000
commite0c1a63028d1c1371f99b6449e4d1ba9d40873a9 (patch)
tree06174bc210ad8750a92490918592b3bbd16fb3ed /src/os/unix/ngx_files.c
parent5eef168a2222b26cdf6dfd2e7c11cb5423cebc74 (diff)
downloadnginx-e0c1a63028d1c1371f99b6449e4d1ba9d40873a9.tar.gz
nginx-e0c1a63028d1c1371f99b6449e4d1ba9d40873a9.zip
Upstream: don't cache unfinished responses.
Check if received data length match Content-Length header (if present), don't cache response if no match found. This prevents caching of corrupted response in case of premature connection close by upstream.
Diffstat (limited to 'src/os/unix/ngx_files.c')
0 files changed, 0 insertions, 0 deletions