]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: cache: fix cache tree iteration
authorMaxime Henrion <mhenrion@haproxy.com>
Fri, 29 May 2026 15:55:39 +0000 (11:55 -0400)
committerOlivier Houchard <cognet@ci0.org>
Fri, 29 May 2026 15:16:03 +0000 (17:16 +0200)
commit839b87ac9fb6e1de6772b28eee797f62ae2363ce
treecdb972d991bbfcbbab7c431fb8668c73f8254632
parent2d91a846f9416185fcad8da25057e6c28ea65967
BUG/MINOR: cache: fix cache tree iteration

Ever since the introduction of multiple cache trees, the "show cache"
CLI command was not properly showing the contents of each tree, but was
only showing the first one.
Fix that by properly resetting next_key when we switch to the next tree.

Should be backported up to 3.0.
src/cache.c