]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache: do not display expired entries in "show cache"
authorWilly Tarreau <w@1wt.eu>
Wed, 13 Apr 2022 09:21:39 +0000 (11:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 Apr 2022 09:21:39 +0000 (11:21 +0200)
commitf1de1b51cab49f654938524a515cf26ac2db0bf5
tree773ad2a7d5716e7c95cf6f23f70076553ed85494
parent15dbedd63d88308d7a84bc66b17c579af962b823
BUG/MINOR: cache: do not display expired entries in "show cache"

It was mentioned in issue #12 that expired entries would appear with a
negative expire delay in "show cache". Instead of listing them, let's
just evict them.

This could be backported to all versions since this was reported on
1.8 already.
src/cache.c