]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: listener/mq: do not dispatch connections to remote threads when stopping
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2020 16:33:29 +0000 (17:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2020 18:10:29 +0000 (19:10 +0100)
commita7da5e8dd058ee1e283a06342e9701a8eca78ac6
treeb7ede40e6fff13a61e3cc844944a45736504378e
parentf8ea00e05e1e5358311086e2a4b9a47fb3fb306c
BUG/MINOR: listener/mq: do not dispatch connections to remote threads when stopping

When stopping there is a risk that other threads are already in the
process of stopping, so let's not add new work in their queue and
instead keep the incoming connection local.

This should be backported to 2.1 and 2.0.
src/listener.c