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().
This commit is contained in:
Christopher Faulet 2018-12-10 16:14:04 +01:00 committed by Willy Tarreau
parent 459e18e9e7
commit c9df7f728f
3 changed files with 3 additions and 4 deletions

View 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

View 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;
}

View 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;