From c9df7f728f72e13d58e261e9561f6549be5ef540 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 10 Dec 2018 16:14:04 +0100 Subject: [PATCH] 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(). --- include/proto/flt_http_comp.h | 3 +-- src/filters.c | 2 +- src/flt_http_comp.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/proto/flt_http_comp.h b/include/proto/flt_http_comp.h index 877cc9d4d..6e95f144d 100644 --- a/include/proto/flt_http_comp.h +++ b/include/proto/flt_http_comp.h @@ -23,7 +23,6 @@ #include -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 6368b20b9..d082261b5 100644 --- a/src/filters.c +++ b/src/filters.c @@ -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; } diff --git a/src/flt_http_comp.c b/src/flt_http_comp.c index 7ffff7631..0d3e52b4c 100644 --- a/src/flt_http_comp.c +++ b/src/flt_http_comp.c @@ -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;