]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: compression: Rename the function check_legacy_http_comp_flt()
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 10 Dec 2018 15:14:04 +0000 (16:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Dec 2018 16:09:31 +0000 (17:09 +0100)
To not mix it up with the legacy HTTP representation, this function has been
rename check_implicit_http_comp_flt().

include/proto/flt_http_comp.h
src/filters.c
src/flt_http_comp.c

index 877cc9d4df2f78c27efddd7af572265a1713ba0d..6e95f144d46f41fd2833d565d51ae337e1d3e5ed 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <types/proxy.h>
 
-int check_legacy_http_comp_flt(struct proxy *proxy);
-
+int check_implicit_http_comp_flt(struct proxy *proxy);
 
 #endif // _PROTO_FLT_HTTP_COMP_H
index 6368b20b933339e57095ecb9f8413599ad3a125f..d082261b58c053c9a80cc79d40f2618356353c14 100644 (file)
@@ -336,7 +336,7 @@ flt_check(struct proxy *proxy)
                if (fconf->ops->check)
                        err += fconf->ops->check(proxy, fconf);
        }
-       err += check_legacy_http_comp_flt(proxy);
+       err += check_implicit_http_comp_flt(proxy);
        return err;
 }
 
index 7ffff76313c3878efffeb705f26ecae4b3a674b0..0d3e52b4ca39eebc310e1c03a6735948fa9b9653 100644 (file)
@@ -1302,7 +1302,7 @@ parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px,
 
 
 int
-check_legacy_http_comp_flt(struct proxy *proxy)
+check_implicit_http_comp_flt(struct proxy *proxy)
 {
        struct flt_conf *fconf;
        int err = 0;