]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: cache: Don't cache objects if the size of headers is too big
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Sep 2019 20:22:12 +0000 (22:22 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 4 Sep 2019 08:30:11 +0000 (10:30 +0200)
commitb066747107bc27b6b94cec794cd76f12c5588795
tree2813de007300ca15617af5eafd5b90cc7c21dc21
parent15a4ce870a19bdb6e6ed0a210d844178145de1b3
BUG/MEDIUM: cache: Don't cache objects if the size of headers is too big

HTTP responses with headers than impinge upon the reserve must not be
cached. Otherwise, there is no warranty to have enough space to add the header
"Age" when such cached responses are delivered.

This patch must be backported to 2.0 and 1.9. For these versions, the same must
be done for the legacy HTTP mode.
src/cache.c