mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
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:
parent
459e18e9e7
commit
c9df7f728f
@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include <types/proxy.h>
|
#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
|
#endif // _PROTO_FLT_HTTP_COMP_H
|
||||||
|
@ -336,7 +336,7 @@ flt_check(struct proxy *proxy)
|
|||||||
if (fconf->ops->check)
|
if (fconf->ops->check)
|
||||||
err += fconf->ops->check(proxy, fconf);
|
err += fconf->ops->check(proxy, fconf);
|
||||||
}
|
}
|
||||||
err += check_legacy_http_comp_flt(proxy);
|
err += check_implicit_http_comp_flt(proxy);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1302,7 +1302,7 @@ parse_http_comp_flt(char **args, int *cur_arg, struct proxy *px,
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
check_legacy_http_comp_flt(struct proxy *proxy)
|
check_implicit_http_comp_flt(struct proxy *proxy)
|
||||||
{
|
{
|
||||||
struct flt_conf *fconf;
|
struct flt_conf *fconf;
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user