]> git.kaiwu.me - haproxy.git/commit
MINOR: proxy: use tg->threads_enabled in hard_stop() to detect stopped threads
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Jul 2022 11:33:13 +0000 (13:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Jul 2022 12:09:39 +0000 (14:09 +0200)
commit7509ec369a811e856c722a788a766550cde9410f
tree1144904d5250f1c3cbfa57bf3b983fded3e85bf9
parent24cfc9f76e5cb45c2e5d923b51aba0660ac3e1e3
MINOR: proxy: use tg->threads_enabled in hard_stop() to detect stopped threads

Let's rely on tg->threads_enabled there to detect running threads. We
should probably have a dedicated function for this in order to simplify
the code and avoid the risk of using the wrong group ID.
src/proxy.c