BUG/MEDIUM: queue: Make process_srv_queue return the number of streams
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 23 Dec 2024 14:17:25 +0000 (14:17 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 9 Jan 2025 09:28:04 +0000 (10:28 +0100)
commit365378bfdf283650ce1ac152348ca59b6d4c32c1
treed09d3e972d308b78cc2d3ca94919991854d32511
parentf018e4b62917e7554398c9d04937b5a64ea2f963
BUG/MEDIUM: queue: Make process_srv_queue return the number of streams

Make process_srv_queue() return the number of streams unqueued, as
pendconn_grab_from_px() did, as that number is used by
srv_update_status() to generate logs.

This should be backported up to 2.6 with
111ea83ed4e13ac3ab028ed5e95201a1b4aa82b8

(cherry picked from commit 5b8899b6ccc7dab3a54a51dcb8ba1512bd0c886c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 70588a16903002709cf3c84255ad8ded73f8e584)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/queue.h
src/queue.c
src/server.c