BUG/MINOR: checks: Respect check-ssl param when a port or an addr is specified
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2020 20:36:24 +0000 (22:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2020 21:33:08 +0000 (23:33 +0200)
commit840bd181e6876bfc06dd8c8a577c6eb2bd7f4103
tree8f4adfb9d3567501f75cee6d443827d2dec3c7e6
parented7487c65cce1f86cb5cae9fd95dc208aedd69a1
BUG/MINOR: checks: Respect check-ssl param when a port or an addr is specified

When a check port or a check address is specified, the check transport layer is
ignored. So it is impossible to do a SSL check in this case. This bug was
introduced by the commit 8892e5d30 ("BUG/MEDIUM: server/checks: Init server
check during config validity check").

This patch should fix the issue #643. It must be backported to all branches
where the above commit was backported.

(cherry picked from commit 66163ec616bd3dfb06605bfc5a6e640ea7ada7d7)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
reg-tests/checks/tls_health_checks.vtc
src/checks.c