From: Christopher Faulet Date: Fri, 6 Mar 2020 14:07:09 +0000 (+0100) Subject: BUG/MINOR: http-rules: Fix a typo in the reject action function X-Git-Tag: v2.2-dev4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4a824e533ef940e9726dbf3d3f94993d97d6391;p=thirdparty%2Fhaproxy.git BUG/MINOR: http-rules: Fix a typo in the reject action function A typo was introduced by the commit c5bb5a0f2 ("BUG/MINOR: http-rules: Preserve FLT_END analyzers on reject action"). This patch must be backported with the commit c5bb5a0f2. --- diff --git a/src/http_act.c b/src/http_act.c index 7b14afd620..3077b68f55 100644 --- a/src/http_act.c +++ b/src/http_act.c @@ -369,8 +369,8 @@ static enum act_return http_action_reject(struct act_rule *rule, struct proxy *p si_must_kill_conn(chn_prod(&s->req)); channel_abort(&s->req); channel_abort(&s->res); - s->req.analysers &= AN_RES_FLT_END; - s->res.analysers &= AN_REQ_FLT_END; + s->req.analysers &= AN_REQ_FLT_END; + s->res.analysers &= AN_RES_FLT_END; _HA_ATOMIC_ADD(&s->be->be_counters.denied_req, 1); _HA_ATOMIC_ADD(&sess->fe->fe_counters.denied_req, 1);