]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Remove dead code from process_chk_conn()
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 May 2020 05:32:01 +0000 (07:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 May 2020 05:32:28 +0000 (07:32 +0200)
commit99ff105bd1396d8d514cd6e3a0fbd38e7bc50103
tree239208fac669f3d84543031168591dbdbc2cec29
parentd6e312317631b4bed4c4e88b932a3c95616ffbb3
MINOR: checks: Remove dead code from process_chk_conn()

With the checks refactoring, all connections are performed into a tcp-check
ruleset. So, in process_chk_conn(), it is no longer required to check
synchronous error on the connect when an health check is started. This part is
now handled in tcpcheck_main(). And because it is impossible to start a health
check with a connection, all tests on the connection during the health check
startup can be safely removed.

This patch should fix the issue #636. No backport needed.
src/checks.c