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>
Fri, 10 Sep 2021 08:35:53 +0000 (10:35 +0200)
commit949b6ca961904c7414fc22204461f9882afff4ea
tree1977a867252289f399445aa549c8681487291efe
parent2d56500826d54fca445de2c0170384763b1cfdb1
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.
src/filters.c