diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2011-11-18 15:09:08 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2011-11-18 15:09:08 +0000 |
commit | e0c1a63028d1c1371f99b6449e4d1ba9d40873a9 (patch) | |
tree | 06174bc210ad8750a92490918592b3bbd16fb3ed /src/os/unix/ngx_files.c | |
parent | 5eef168a2222b26cdf6dfd2e7c11cb5423cebc74 (diff) | |
download | nginx-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