MINOR: cfgparse: move defproxy to cfgparse-listen as a static
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 11:29:28 +0000 (12:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2021 15:23:46 +0000 (16:23 +0100)
commit7d0c143185bd2632cc3ea4c2ba48c00de8f157af
tree13a3a5c1915becd3885a70d3a425d06e12980c7f
parentbb8669ae283291ce9edc60c01936afb2337182c3
MINOR: cfgparse: move defproxy to cfgparse-listen as a static

We don't want to expose this one anymore as we'll soon keep multiple
default proxies. Let's move it inside the parser which is the only
place which still uses it, and initialize it on the fly once needed
instead of doing it at boot time.
include/haproxy/cfgparse.h
src/cfgparse-listen.c
src/cfgparse.c
src/haproxy.c