]> git.kaiwu.me - haproxy.git/commit
MINOR: init: add HTTP client-only mode
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 2 Mar 2026 10:09:04 +0000 (11:09 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 24 Apr 2026 09:32:45 +0000 (11:32 +0200)
commitfdc95fb5582b73a033bc8c0591d9fcfc019e10bd
tree302ac0d4c5ff467550c7b998a78cd443afb667ed
parent2c9d1b2b0c8f6596c5255799cfe56be9519cfc56
MINOR: init: add HTTP client-only mode

Introduce the new <client_mode> global variable to define the operating mode
of haproxy. This variable can be set to 1 to allow haproxy to start without
any listeners.

During the initialization cycle, setting this flag 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.
include/haproxy/global.h
src/haproxy.c