commit | e7a770ce80767f32356a02c1a013e14e0b130a6d | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Fri Oct 26 14:29:22 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 28 19:06:59 2018 +0100 |
tree | a1ea6d179823fec207bc9662775c3736e7a92cf3 | |
parent | deeaa593f3e1975d776bb41c7d1dae4949b16e54 [diff] |
MINOR: cache: Add "Age" header. This patch makes the cache capable of adding an "Age" header as defined by rfc7234. During the storage of new HTTP objects we memorize ->eoh value and the value of the "Age" header coming from the origin server. These information may then be reused to return the cached HTTP objects with a new "Age" header. May be backported to 1.8.