]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: listener: Don't drop suspend/resume deferred requests
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 1 Sep 2026 16:45:53 +0000 (18:45 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 10 Sep 2026 16:33:30 +0000 (18:33 +0200)
commitbc9524eb84665463db972c54232f03f425eba049
treea93a88c138673c45757f8fa5ba9905d97e25e0ec
parentf987d99fce4d44f9db5859b0fac309a6ace28bf5
BUG/MEDIUM: listener: Don't drop suspend/resume deferred requests

When using per-thread group file descriptors, we have to send messages
to other thread groups to tell them to suspend or resume listeners. Add
a current status for each thread group, instead of looking for the
global listener state, to know the current state for each thread group,
otherwise a rapid succession of suspend/resume could lead to an
inconsistant state.
include/haproxy/receiver-t.h
src/listener.c
src/protocol.c
src/proxy.c