]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Call wake_srv_chk() when we can finally send data.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 28 Aug 2018 17:36:18 +0000 (19:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 Aug 2018 17:43:57 +0000 (19:43 +0200)
commit4501c3e0992ca03e082cce81e0fff21067a59ddd
tree756a1403dc8a6b5fff678e24893acb841905ef4d
parent594c8c5015abb0d0c0a8d41fea573a2bcd63a351
MINOR: checks: Call wake_srv_chk() when we can finally send data.

Instead of calling __event_srv_chk_w, call wake_srv_chk(), which will then
either call tcpcheck_main() or __event_srv_chk_w().
Also make tcpcheck_main() subscribe if it can't send.
src/checks.c