]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: queues: Adjust the proxy counters when appropriate
authorOlivier Houchard <cognet@ci0.org>
Thu, 9 Jan 2025 16:43:41 +0000 (17:43 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 9 Jan 2025 16:46:46 +0000 (17:46 +0100)
commit659d5f6579e3595c261816a7ba73ef60898652bf
treeb991c6d880ed97ed27990bd31fdd7948db767a36
parent24042df94e27485550d83770138d99d3d07ae6a4
BUG/MEDIUM: queues: Adjust the proxy counters when appropriate

In process_srv_queue(), if we manage to successfully run an extra task,
don't forget to adjust the proxy's totpend and served counters accordingly.
Having an inaccurate served could lead to various subtle bugs, as it is
used when making load balancing decisions.

This should not be backported, unless cda7275ef5d5e49fb2ea2373ea3b1ba63fc927c3
is backported too.
src/queue.c