]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: init: allow a fileless init mode
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 11 Feb 2026 10:11:16 +0000 (11:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 19 Feb 2026 13:46:49 +0000 (14:46 +0100)
commit6013f4baeb66c15d0c643082ff7850d9f7d2b1c7
treecc60ab08f05306203f127ffc024004b909040ffa
parent234ce775c360d6b8c531903c2e0ed47d5122eb20
MINOR: init: allow a fileless init mode

This patch provides the possibility to initialize haproxy without
configuration file. This may be identified by the new global and exported
<fileless_mode> and <fileless_cfg> variables which may be used to
provide a struct cfgfile to haproxy by others means than a physical
file (built in memory).
When enabled, this fileless mode skips all the configuration files
parsing.
include/haproxy/global.h
src/haproxy.c