MINOR: check: report error on incompatible proto
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 Nov 2020 11:34:57 +0000 (12:34 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Nov 2020 15:26:10 +0000 (16:26 +0100)
commit7c148901837c5deed0f33bc037480faf10cb9a1f
tree085b1d80085242386a20d92fd06383e6e58c50fb
parent0519bd4d04cc3455233d9a74c5d682a958fc02b2
MINOR: check: report error on incompatible proto

If the check mux has been explicitly defined but is incompatible with
the selected check type (tcp-check vs http-check), report a warning and
prevent haproxy startup.
src/check.c