]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: debug: make the debug_handler check for the thread in threads_to_dump
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Mar 2020 07:31:34 +0000 (08:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 3 Mar 2020 07:31:34 +0000 (08:31 +0100)
commit82aafc4a0fd5cf5a5203b37f622105a73fe5ba94
tree3d7d05943afb09a48c08036bd3e941786a2fa5d9
parent516853f1cc144bfe5d0010fc12d5f385341e67ab
BUG/MEDIUM: debug: make the debug_handler check for the thread in threads_to_dump

It happens that just sending the debug signal to the process makes on
thread wait for its turn while nobody wants to dump. We need to at
least verify that a dump was really requested for this thread.

This can be backported to 2.1 and 2.0.
src/debug.c