From: Christopher Faulet Date: Mon, 10 Dec 2018 15:14:04 +0000 (+0100) Subject: MINOR: compression: Rename the function check_legacy_http_comp_flt() X-Git-Tag: v1.9-dev11~107 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9df7f728f72e13d58e261e9561f6549be5ef540;p=thirdparty%2Fhaproxy.git 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 877cc9d4df..6e95f144d4 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 6368b20b93..d082261b58 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 7ffff76313..0d3e52b4ca 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;