]> git.kaiwu.me - haproxy.git/commit
MINOR: fcgi-app: Use the filter configuration helpers for lookups and checks
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Oct 2026 16:06:19 +0000 (18:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:36 +0000 (16:17 +0200)
commit7290315e4bee93d3fcac6ed3eccc4b80d6efde4a
tree2a8f2cb1163cd4c817ff99518ba0c735247eb3b7
parentc05fcfddea872e7e8425e9f0e77e1a87fa512ad1
MINOR: fcgi-app: Use the filter configuration helpers for lookups and checks

Look up the FCGI filter configuration of a proxy with flt_find_conf()
instead of scanning the legacy filter_configs and then falling back to the
finalized instances. The helper already selects the right source
according to the proxy mode.

Rework fcgi_flt_check() to walk the filter configurations with
flt_foreach_conf() and check the uniqueness of the FCGI application and
the implicit declaration rules in a dedicated callback.

The callback now considers any second FCGI filter of the proxy as an
error, including one referring to the same application, since a single
FCGI filter remains supported per proxy.
src/fcgi-app.c