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 20:55:05 +0000 (22:55 +0200)
commit66163ec616bd3dfb06605bfc5a6e640ea7ada7d7
tree2328148ec5923d5f85acac70d318fc7d5b494102
parent7017067d68dd79e36ca26de046c3134751e89fde
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.
reg-tests/checks/tls_health_checks.vtc
src/checks.c