commit | f6ba17da201f3ea9fd9c5376ff7765e20a95fa72 | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Thu Nov 02 14:35:27 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 02 16:24:37 2017 +0100 |
tree | 2f4192758c2af61694ced0853fbff26ab94b0572 | |
parent | 16257f648ffb49f639bb17956445acf934b992a7 [diff] |
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.