]> 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>
Thu, 18 Jun 2026 09:25:59 +0000 (11:25 +0200)
commit023f532043b58cc19da864162f382e8ec36b880d
tree197e6b231daa639f81900a6252c7b7bdf5446142
parent99c24e957eac0ad168983d218feba33042fac228
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