BUG/MINOR: filters: Set right FLT_END analyser depending on channel
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 10 Sep 2021 08:29:54 +0000 (10:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Sep 2021 14:40:04 +0000 (16:40 +0200)
commit00b1550759294a6c0b06219c8c859fbecd5e99da
tree1ab46f2330573ddf62bc8c128c7bdb1edb29fdb2
parent92586346cabfc0d6bc3d354b29e7f333ac2a6c64
BUG/MINOR: filters: Set right FLT_END analyser depending on channel

A bug was introduced by the commit 26eb5ea35 ("BUG/MINOR: filters: Always
set FLT_END analyser when CF_FLT_ANALYZE flag is set"). Depending on the
channel evaluated, the rigth FLT_END analyser must be set. AN_REQ_FLT_END
for the request channel and AN_RES_FLT_END for the response one.

Ths patch must be backported everywhere the above commit was backported.

(cherry picked from commit 949b6ca961904c7414fc22204461f9882afff4ea)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 2f3ead14a522e1ffb587e8315b0b0a24acab5d56)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/filters.c