MINOR: cfgparse-listen: warn when use-server rules is used in wrong mode
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 22 Sep 2023 13:07:25 +0000 (15:07 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 6 Oct 2023 13:34:30 +0000 (15:34 +0200)
commit19a1210dcd6b9360c701197bd556cf78be3f6ff0
treeb91acd1bfc16e7529ba696258c7b593013c769d3
parent3934901e514df8bf0b0b22dda724e1fd4fb9d10c
MINOR: cfgparse-listen: warn when use-server rules is used in wrong mode

haproxy will report a warning when "use-server" keyword is used within a
backend that doesn't support server rules to inform the user that rules
will be ignored.

To this day, only TCP and HTTP backends can make use of it.
src/cfgparse-listen.c