BUG/MINOR: tcp-rules: Preserve the right filter analyser on content eval abort

When a tcp-request or a tcp-response content ruleset evaluation is aborted, the
corresponding FLT_END analyser must be preserved, if any. But because of a typo
error, on the tcp-response content ruleset evaluation, we try to preserve the
request analyser instead of the response one.

This patch must be backported to 2.2.
This commit is contained in:
Christopher Faulet 2020-07-28 11:40:07 +02:00
parent 99aaca99b5
commit 19dbf2d625

View File

@ -401,7 +401,7 @@ resume_execution:
channel_abort(&s->req);
abort:
rep->analysers &= AN_REQ_FLT_END;
rep->analysers &= AN_RES_FLT_END;
if (!(s->flags & SF_ERR_MASK))
s->flags |= SF_ERR_PRXCOND;