]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lru: fix the standalone test case for invalid revision
authorWilly Tarreau <w@1wt.eu>
Sun, 7 Apr 2024 16:27:06 +0000 (18:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Apr 2024 06:43:12 +0000 (08:43 +0200)
commitda6bb137907a00204819d9d92b49fea05ffd8407
tree5dcbee3e39f85723c4dd0b01a52987879c9868e9
parent985d458571873910edd635681a925a131bf6b61f
BUG/MINOR: lru: fix the standalone test case for invalid revision

In 2.6, a build issue for LRU in standalone test mode was addressed by
commit bf9c07fd9 ("BUILD/DEBUG: lru: update the standalone code to
support the revision"), but using revision 1 while looking up rev 0
results in 100% misses. Let's fix this and commit with revision 0 as
well.

No backport is needed, this only happens when hacking on the code.
src/lru.c