commit | e0c1a63028d1c1371f99b6449e4d1ba9d40873a9 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Fri Nov 18 15:09:08 2011 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Fri Nov 18 15:09:08 2011 +0000 |
tree | 06174bc210ad8750a92490918592b3bbd16fb3ed | |
parent | 5eef168a2222b26cdf6dfd2e7c11cb5423cebc74 [diff] |
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.