]> git.kaiwu.me - haproxy.git/commitdiff
BUG/MINOR: flt-decomp: Fix the decompression filter keyword list name
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Oct 2026 16:06:26 +0000 (18:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:35 +0000 (16:17 +0200)
The decompression filter keyword list registered for the legacy "filter"
directive was named "COMP", like the HTTP compression one. Rename it to
"DECOMP" to match the filter it belongs to.

This only changes the keyword list label, not the accepted keywords.

src/flt_decomp.c

index 67add1968c128bd9302c793e0637bea20afdfc7a..a7d085385776522d0cb9d43bc8cf161bde20ecb5 100644 (file)
@@ -1344,7 +1344,7 @@ static struct cfg_kw_list cfg_kws = {ILH, {
 INITCALL1(STG_REGISTER, cfg_register_keywords, &cfg_kws);
 
 /* Declare the filter parser for "compression" keyword */
-static struct flt_kw_list filter_kws = { "COMP", { }, {
+static struct flt_kw_list filter_kws = { "DECOMP", { }, {
                { "decomp-req", parse_decomp_req_flt, NULL },
                { "decomp-res", parse_decomp_res_flt, NULL },
                { NULL, NULL, NULL },