]> git.kaiwu.me - haproxy.git/commit
MINOR: flt-decomp: Stop to explicitly loop on the proxy's filter_configs list
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 Oct 2026 10:51:14 +0000 (11:51 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 Oct 2026 13:08:45 +0000 (14:08 +0100)
commit28eaedd1c0c9966d9043588b313940accd7b09ff
tree188015318f6640c5be5e0e213f7382058bbdc5da
parentcb83a1898ea0c710ba9af87292a904f1929a0c31
MINOR: flt-decomp: Stop to explicitly loop on the proxy's filter_configs list

The "decomp-req" and "decomp-res" filter keyword parsers scanned the
filter_configs list of the proxy by hand to detect an already declared
decompression filter configuration, matching on the filter id.

The parsers now use flt_find_conf(), the supported way to find a filter
configuration, which walks the right list depending on the filter mode
of the proxy. As a side effect, the message of the "decomp-res" duplicate
error now names the right filter.
src/flt_decomp.c