mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-27 16:23:18 +00:00
BUG/MINOR: flt_trace/compression: Use the right flag to add the HTX support
Of course, the flag FLT_CFG_FL_HTX must be used and not STRM_FLT_FL_HAS_FILTERS. "Fortunately", these 2 flags have the same value, so everything worked as expected.
This commit is contained in:
parent
435ce2d71d
commit
6e54095d0a
@ -79,7 +79,7 @@ static int http_compression_buffer_end(struct comp_state *st, struct stream *s,
|
|||||||
static int
|
static int
|
||||||
comp_flt_init(struct proxy *px, struct flt_conf *fconf)
|
comp_flt_init(struct proxy *px, struct flt_conf *fconf)
|
||||||
{
|
{
|
||||||
fconf->flags |= STRM_FLT_FL_HAS_FILTERS;
|
fconf->flags |= FLT_CFG_FL_HTX;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ trace_init(struct proxy *px, struct flt_conf *fconf)
|
|||||||
else
|
else
|
||||||
memprintf(&conf->name, "TRACE/%s", px->id);
|
memprintf(&conf->name, "TRACE/%s", px->id);
|
||||||
|
|
||||||
fconf->flags |= STRM_FLT_FL_HAS_FILTERS;
|
fconf->flags |= FLT_CFG_FL_HTX;
|
||||||
fconf->conf = conf;
|
fconf->conf = conf;
|
||||||
|
|
||||||
TRACE(conf, "filter initialized [read random=%s - fwd random=%s - hexdump=%s]",
|
TRACE(conf, "filter initialized [read random=%s - fwd random=%s - hexdump=%s]",
|
||||||
|
Loading…
Reference in New Issue
Block a user