mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
BUG/MINOR: spoe: correction of setting bits for analyzer
When a SPOE filter starts the response analyze, the wrong flag is tested on the pre_analyzers bit field. AN_RES_INSPECT must be tested instead of SPOE_EV_ON_TCP_RSP. This patch must be backported to all versions with the SPOE support, i.e as far as 1.7.
This commit is contained in:
parent
c97406f790
commit
88403266e5
@ -3187,7 +3187,7 @@ spoe_start_analyze(struct stream *s, struct filter *filter, struct channel *chn)
|
||||
ctx->flags |= SPOE_CTX_FL_CLI_CONNECTED;
|
||||
}
|
||||
else {
|
||||
if (filter->pre_analyzers & SPOE_EV_ON_TCP_RSP)
|
||||
if (filter->pre_analyzers & AN_RES_INSPECT)
|
||||
chn->analysers |= AN_RES_INSPECT;
|
||||
|
||||
if (ctx->flags & SPOE_CTX_FL_SRV_CONNECTED)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user