commit | a63ae1e7feb24ac7298ad71c3f12968ffe585036 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Jul 15 20:49:46 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jul 19 09:55:56 2019 +0200 |
tree | 05cfad4de5d2f4f26efa805acccf7b056d48ca2c | |
parent | 8264f133793557c88a7c751009a45ae8d688be80 [diff] |
BUG/MINOR: cache/htx: Make maxage calculation HTX aware The function http_calc_maxage() was not updated to be HTX aware. So the header "Cache-Control" on the response was never parsed to find "max-age" or "s-maxage" values. This patch must be backported to 2.0 and 1.9. (cherry picked from commit 5f2c49f5eedb55fd757c2e4812df840bcf2dd9e9) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>