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.

(cherry picked from commit f1de1b51cab49f654938524a515cf26ac2db0bf5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d3a85582c8f58539e9d084db8bb8ce5659f9d866)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed