commit | 3d5e1218429f7c06122ad612bbda561030706cab | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu May 28 14:34:02 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu May 28 15:07:20 2020 +0200 |
tree | 59a37c780bf525f547e9b56fd8f6e56f06c9c9fa | |
parent | 030ed4b73873e1d93d887d679e65b9e851ec3b1e [diff] |
MINOR: checks: I/O callback function only rely on the data layer wake callback Most of code in event_srv_chk_io() function is inherited from the checks before the recent refactoring. Now, it is enough to only call wake_srv_chk(). Since the refactoring, the removed code is dead and never called. wake_srv_chk() may only return 0 if tcpcheck_main() returns 0 and the check status is unknown (CHK_RES_UNKNOWN). When this happens, nothing is performed in event_srv_chk_io().