commit | 5f2c49f5eedb55fd757c2e4812df840bcf2dd9e9 | [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:18:27 2019 +0200 |
tree | 25afa9d422cd6e81575452fe01c2ac9c5088c293 | |
parent | 7b889cb3875d396e8a100f732bb3f5589fe1917f [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.