MINOR: check: report error on incompatible connect proto
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 Nov 2020 11:34:58 +0000 (12:34 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Nov 2020 15:36:23 +0000 (16:36 +0100)
commit34ff9ace86b73d1d365aa6a8b8546718507b0804
tree037572f6f2f93d7eaf68e7cbac7dfd40fedf800f
parent92c8ac181f1b3804a6ff149ab6c0b63d10be596c
MINOR: check: report error on incompatible connect proto

Report an error when using an explicit proto for a connect rule with
non-compatible mode in regards with the selected check type (tcp-check
vs http-check).

(cherry picked from commit 90eb93f79204336e38fdb859f61ab75ce44a4367)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/tcpcheck.c