]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: thread: check stopping thread against local bit and not global one
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Jul 2022 12:07:29 +0000 (14:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Jul 2022 12:09:39 +0000 (14:09 +0200)
commit24cfc9f76e5cb45c2e5d923b51aba0660ac3e1e3
treec59ee5cbd30dc292821b0c51a20b7ea5714c268f
parent291f6ff885e4143b592a0cf8312d621bd8b3e1dd
BUG/MEDIUM: thread: check stopping thread against local bit and not global one

Commit ef422ced9 ("MEDIUM: thread: make stopping_threads per-group and add
stopping_tgroups") moved the stopping_threads mask to per-group, but one
test in the loop preserved its global value instead, resulting in stopping
threads never sleeping on stop and eating 100% CPU until all were stopped.

No backport is needed.
src/haproxy.c