From 19dbf2d625b11e23cd45ef9d9678809a9ad602b9 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 28 Jul 2020 11:40:07 +0200 Subject: [PATCH] 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. --- src/tcp_rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcp_rules.c b/src/tcp_rules.c index 984aa501d..4db7dec28 100644 --- a/src/tcp_rules.c +++ b/src/tcp_rules.c @@ -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;