MINOR: cfgparse: forbid mixing reverse and standard listeners
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 Oct 2023 10:05:31 +0000 (12:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 20 Oct 2023 12:44:37 +0000 (14:44 +0200)
commit37d7e52cc67583033e96e45b45fa57c0d248395a
tree91a249ead05941250505174cd0d95a4335a30d51
parent60e7116be0d01edc5117bb2c514c363e5cee7def
MINOR: cfgparse: forbid mixing reverse and standard listeners

Reverse HTTP listeners are very specific and share only a very limited
subset of keywords with other listeners. As such, it is probable
meaningless to mix standard and reverse addresses on the same bind line.
This patch emits a fatal error during configuration parsing if this is
the case.
include/haproxy/listener-t.h
src/cfgparse.c