]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse-global: add dedicated parser for *env keywords
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Mon, 30 Sep 2024 12:27:08 +0000 (14:27 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 1 Oct 2024 08:37:29 +0000 (10:37 +0200)
commitf18b52cc80886ace1520790fea32e6f2c0f7fd60
tree1d1fa0b09edd8f6dd47ae0edc259a963bc3d4873
parentdf68f7ec96c0c9d0e8f50643b96ec9062b7aa658
MINOR: cfgparse-global: add dedicated parser for *env keywords

This commit prepares the config parser to support MODE_DISCOVERY and, thus,
refactored master-worker mode. The latter implies, that master process reads
only the 'DISCOVERY' tagged keywords from the global section and it must call
for this an appropriate keyword parser.

So, let's move the code, which parses *env keywords, from the global section
parser to its own keyword registered parser.
src/cfgparse-global.c