commit | b1bb069c156b6766ee0e07ab0b3ef75db57b3e5f | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Nov 25 16:47:30 2020 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Nov 27 10:29:41 2020 +0100 |
tree | 68c07dfbac04b83d71bcdd68fb1419309fc24b73 | |
parent | b381a505c1010bb11abbe7b31e8d2307c4dab541 [diff] |
MINOR: tcpcheck: Don't handle anymore in-progress connect rules in tcpcheck_main The special handling of in-progress connect rules at the begining of tcpcheck_main() function can be removed. Instead, at the begining of the tcpcheck_eval_connect() function, we test is there is already an existing connection. In this case, it means we are waiting for a connection establishment. In addition, before evaluating a new connect rule, we take care to release any previous connection.