]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: No longer remove previous anonymous defaults section
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Oct 2021 09:12:50 +0000 (11:12 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Oct 2021 12:12:19 +0000 (14:12 +0200)
commit52b8a43d4e85a9f2429cfe7ca58d38cd64829a0d
tree3f926674a3f92eab6f8fa1036d8fbfb7415f611e
parentff556276eb809da0ec4c816beacad6294c982301
MINOR: config: No longer remove previous anonymous defaults section

When the parsing of a defaults section is started, the previous anonymous
defaults section is removed. It may be a problem with referenced defaults
sections. And because all unused defautl proxies are removed after the
configuration parsing, it is not required to remove it so early.

This patch is mandatory to support TCP/HTTP rules in defaults sections.
src/cfgparse-listen.c