commit | b0b8b26e164ef6c7a407e8c36ac1889efad466a8 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue May 26 12:14:22 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue May 26 13:36:30 2020 +0200 |
tree | 9ec48b26f7bef13c2c9265d850c5b9dd4d0d916d | |
parent | 3cbdd22df5534959e2b94615815760d3c2ab6230 [diff] |
MINOR: checks: Remove useless tests on the connection and conn-stream During an health check execution, the conn-stream and the conncetion may only be NULL before the evaluation of the first rule, which is always a connect, or if the first conn-stream allocation failed. Thus, in tcpcheck_main(), useless tests on the conn-stream or on the connection have been removed. A comment has been added to make it clear. No backport needed.