]> git.kaiwu.me - haproxy.git/commit
MEDIUM: streams: Remove unnecessary call to srv_manage_queues()
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 6 Feb 2026 08:29:14 +0000 (09:29 +0100)
committerOlivier Houchard <cognet@ci0.org>
Mon, 2 Mar 2026 12:46:17 +0000 (13:46 +0100)
commit8ed07610b12542e0ece3560a5a6a538389fbc3a4
treeb2069c24c9aabd6c1a8db69f562edf89e5970143
parent3eadd5b4eb899ff9961568c97312cf5fe10f09b4
MEDIUM: streams: Remove unnecessary call to srv_manage_queues()

Remove the call to srv_manage_queues() at the beginning of strem_free().
It is not needed. Before cur_sess was removed, it was bogusly using it
to check if the server was full, but process_srv_queue() was using
served anyway, so cur_sess was not reliable. At this point, served has
already be decremented, and process_srv_queue() was called, or it will
be later in stream_free(), but there is no point in doing that at the
beginning of steam_free().
src/stream.c