]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: tcp-check: Don't lock the server in tcpcheck_main
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Nov 2017 09:06:29 +0000 (10:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Nov 2017 09:43:23 +0000 (10:43 +0100)
commitb61028549e51b58abdafcf652ee2871767307a62
treece5b0f2328ebbde377a0a7da9ba11793a67594d5
parente78915a47a6427d1fb4a5347da4f7021c7350a1b
BUG/MEDIUM: tcp-check: Don't lock the server in tcpcheck_main

There was a deadlock in tcpcheck_main function. The server's lock was already
acquired by the caller (process_chk_conn or wake_srv_chk).

This patch must be backported in 1.8.
src/checks.c