MINOR: compression: Rename the function check_legacy_http_comp_flt()
To not mix it up with the legacy HTTP representation, this function has been
rename check_implicit_http_comp_flt().
diff --git a/include/proto/flt_http_comp.h b/include/proto/flt_http_comp.h
index 877cc9d..6e95f14 100644
--- a/include/proto/flt_http_comp.h
+++ b/include/proto/flt_http_comp.h
@@ -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
diff --git a/src/filters.c b/src/filters.c
index 6368b20..d082261 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -336,7 +336,7 @@
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;
}
diff --git a/src/flt_http_comp.c b/src/flt_http_comp.c
index 7ffff76..0d3e52b 100644
--- a/src/flt_http_comp.c
+++ b/src/flt_http_comp.c
@@ -1302,7 +1302,7 @@
int
-check_legacy_http_comp_flt(struct proxy *proxy)
+check_implicit_http_comp_flt(struct proxy *proxy)
{
struct flt_conf *fconf;
int err = 0;