BUG/MINOR: spoe: correction of setting bits for analyzer
authorMiroslav Zagorac <mzagorac@haproxy.com>
Fri, 19 Jun 2020 20:17:17 +0000 (22:17 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jul 2020 17:03:55 +0000 (19:03 +0200)
commit125fbcad2a5a15d290bb95231ff1a881ae0f09fa
tree3bc6c2f301789f0f0ddfbb895affc840f266fe89
parent81c76843a0b7732855babbcae99b5b8adccb9b4f
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.

(cherry picked from commit 88403266e5c38b5fbe278a25304cbdc735ae50fe)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/flt_spoe.c