]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: haload: restore request accounting after user timeouts
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 2 Nov 2026 15:57:00 +0000 (16:57 +0100)
committerOlivier Houchard <cognet@ci0.org>
Wed, 4 Nov 2026 15:34:45 +0000 (16:34 +0100)
commitbc5d61dce5e8b917e94d730280e4a094c2b9e8ba
treec1b9a0cc893bcea1f713dce5e0fa86a3b2289950
parentf7a42a4129211e4f6928a60c78f4bbef253ffdd5
BUG/MEDIUM: haload: restore request accounting after user timeouts

The user path drops expired streams without releasing their active-stream
count or their tot_rconns slot, unlike the stream-error path. Once -r is
reached with fewer completions, running_tasks never falls back to zero and
haload hangs until it is killed.

Release both there, matching the error path; the timeout is still counted
as an error. This was introduced with haload in 3.5-dev, no backport needed.
src/haload.c