]> git.kaiwu.me - haproxy.git/commit
MEDIUM: filters: implicitly enable "decomp-req" and "decomp-res" when decompression...
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 20 Aug 2026 17:49:58 +0000 (19:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 28 Aug 2026 15:26:38 +0000 (17:26 +0200)
commit6715b5c85d539d4851afc6f99adf99c8e72577f2
tree05ffdaa33b4863feb6d45248caa2ad744c54abb7
parent9289dc541c8c9c30ec80f90ceba1c46626c067fd
MEDIUM: filters: implicitly enable "decomp-req" and "decomp-res" when decompression options are used

If the "decomp-req" and/or "decomp-res" filters are not declared
explicitly but decompression options are set for them, then we
detect that the options relevant for one or the other were set and
we enable the filter automatically. This eases the configuration for
users who forget to declare the relevant decompression filters, as
we already do for compression ones.

However, when multiple filters are involved on a single proxy, it is
highly recommended to declare filters explicitly in order to avoid
surprises and this way it is easier to control in which order they
are executed. See also "filter-sequence" to help control executing
order.
doc/configuration.txt
include/haproxy/flt_decomp.h [new file with mode: 0644]
src/filters.c
src/flt_decomp.c
src/flt_http_comp.c