diff --git a/src/proto_tcp.c b/src/proto_tcp.c index 74790e8c3..afcb1bc0a 100644 --- a/src/proto_tcp.c +++ b/src/proto_tcp.c @@ -1266,6 +1266,8 @@ static enum act_return tcp_exec_action_silent_drop(struct act_rule *rule, struct channel_abort(&strm->res); strm->req.analysers &= AN_REQ_FLT_END; strm->res.analysers &= AN_RES_FLT_END; + if (strm->flags & SF_BE_ASSIGNED) + _HA_ATOMIC_ADD(&strm->be->be_counters.denied_req, 1); if (!(strm->flags & SF_ERR_MASK)) strm->flags |= SF_ERR_PRXCOND; if (!(strm->flags & SF_FINST_MASK))