]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: queue: properly keep count of the queue length
authorWilly Tarreau <w@1wt.eu>
Sat, 17 May 2025 08:28:50 +0000 (10:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 17 May 2025 08:46:10 +0000 (10:46 +0200)
commit099c1b244266c38d77b39c2fdbb36074b28c9735
tree76bde49ad311b57fb25790add0399296d46e97dc
parent6be02d1c6eed0e35e43ca35697501ba688a4da8f
BUG/MAJOR: queue: properly keep count of the queue length

The queue length was moved to its own variable in commit 583303c48
("MINOR: proxies/servers: Calculate queueslength and use it."), however a
few places were missed in pendconn_unlink() and assign_server_and_queue()
resulting in never decreasing counts on aborted streams. This was
reproduced when injecting more connections than the total backend
could stand in TCP mode and letting some of them time out in the
queue. No backport is needed, this is only 3.2.
src/backend.c
src/queue.c