]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache: Inverted variables in http_calc_maxage function
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 30 Oct 2020 13:26:13 +0000 (14:26 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 30 Oct 2020 13:29:29 +0000 (14:29 +0100)
commit8c2db71326addbcf9d6c8ae4d2048247031f9e4c
treeb0caaff464964f5765b029d35fd06fce1601db08
parent40ed97b04b930c76c77c09c0cafc8781f94b66ee
BUG/MINOR: cache: Inverted variables in http_calc_maxage function

The maxage and smaxage variables were inadvertently assigned the
Cache-Control s-maxage and max-age values respectively when it should
have been the other way around.

This can be backported on all branches after 1.8 (included).
src/cache.c