]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse-global: move 'expose-*' in global keywords list
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 14 Aug 2024 13:15:33 +0000 (15:15 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 20 Aug 2024 17:16:31 +0000 (19:16 +0200)
commitc46497f16f9e3c63f3ae9ff53e775de36105a53c
tree1cec991d6e1b0b8b7c82f61f85c99478ae6ed456
parent450ce3e61b93760198f15556c74171ee7975cb21
MINOR: cfgparse-global: move 'expose-*' in global keywords list

Following the previous commit let's also move 'expose-*' keywords in the global
cfg_kws list and let's add for them a dedicated parser. This will simplify the
configuration parsing in the new MODE_DISCOVERY, which allows to read only the
keywords, needed at the early start of haproxy process (i.e. modes, pidfile,
chosen poller).
src/cfgparse-global.c