]> git.kaiwu.me - haproxy.git/commit
MINOR: haload: add FastCGI support
authorFrederic Lecaille <flecaille@haproxy.com>
Mon, 31 Aug 2026 09:25:16 +0000 (11:25 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Tue, 1 Sep 2026 15:15:08 +0000 (17:15 +0200)
commit29c70e199f69122f4eba49ece50c06ccaac1b7b5
treeb681d87b78e8fda91dd9af6135a0edc287bbd2b1
parent70a1297b2a8c841c932890755bb316478d0ea867
MINOR: haload: add FastCGI support

Add -fcgi (protocol selector) and --fcgi-app <str> (raw passthrough
into a generated "fcgi-app haload" section, mainly for "docroot").

The FCGI filter is attached from hld_cfg_finalize() (post-check),
not hld_pre_check(): servers don't exist yet at pre-check time, and
HAProxy's own postparser then wrongly reports no FCGI server found.

"set-param"/"pass-header" have no effect (no struct stream to run
them); use -H ":fcgi-<param>:<value>" instead.
doc/haload.txt
include/haproxy/haload.h
src/haload.c
src/haload_init.c