]> git.kaiwu.me - haproxy.git/commit
MINOR: init: add no listener mode
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 2 Mar 2026 10:09:04 +0000 (11:09 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 1 Jul 2026 13:22:14 +0000 (15:22 +0200)
commit477f29bf4893f284c760ee25b0bd8cefaff3a3d7
tree70639904a9b89678c3c105184e3a4c45dce9587e
parent01f4e33eadc79b4780b62694c93f0b3e217a0a0d
MINOR: init: add no listener mode

Introduce the new <no_listener_mode> global variable to define a new operating mode
for haproxy. This variable can be set to 1 to allow haproxy to start without
any listeners. Without such a setting, haproxy refuses to start without listener.

During the initialization cycle, setting this variable to 1 ensures that the
lack of configured listeners is no longer treated as a fatal error. This allows
programs based on haproxy source code to initialize the stack and use its
features even without a frontend. This will be the case for haload.
include/haproxy/global.h
src/haproxy.c