]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: pools: don't report "limited to the first X entries" by default
authorWilly Tarreau <w@1wt.eu>
Thu, 16 Oct 2025 06:38:35 +0000 (08:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Oct 2025 06:41:32 +0000 (08:41 +0200)
commitf263a45ddf5dc57e6f68de0261bcb43a11d3f3aa
tree1c38aa847bc3df154b504ede1b5d18f864aa09c5
parentab0c97139f29e8f2498da03e0ae6339402a08f12
BUG/MINOR: pools: don't report "limited to the first X entries" by default

With the fix in commit 982805e6a3 ("BUG/MINOR: pools: Fix the dump of
pools info to deal with buffers limitations"), the max count is now
compared to the number of dumped pools instead of the configured
numbered, and keeping >= is no longer valid because maxcnt is set by
default to the same value when not set, so this means that since this
patch we're always displaying "limited to the first X entries" where X
is the number of dumped entries even in the absence of any limitation.
Let's just fix the comparison to only show this when the limit is lower.

This must be backported to 3.2 where the patch above already is.
src/pool.c