]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: fix deadlock on healthchecks.
authorEmeric Brun <ebrun@haproxy.com>
Thu, 2 Nov 2017 13:35:27 +0000 (14:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 15:24:37 +0000 (16:24 +0100)
commitf6ba17da201f3ea9fd9c5376ff7765e20a95fa72
tree2f4192758c2af61694ced0853fbff26ab94b0572
parent16257f648ffb49f639bb17956445acf934b992a7
BUG/MAJOR: fix deadlock on healthchecks.

Fix bugs due to missing unlock and recursive lock performing
http health check.

The server's lock scope was enlarged to protect all callers
of 'set_server_check_status' and 'chk_report_conn_err'.

This fix also protects tcpcheck against concurrency.
src/checks.c