mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
[BUG] tcp: dropped connections must be counted as "denied" not "failed"
This probably was a copy-paste typo from the initial tcp-request feature. This must be backported to 1.4 and possibly 1.3.
This commit is contained in:
parent
a3445fce16
commit
23968d898a
1 changed files with 2 additions and 2 deletions
|
|
@ -692,9 +692,9 @@ int tcp_inspect_request(struct session *s, struct buffer *req, int an_bit)
|
|||
buffer_abort(s->rep);
|
||||
req->analysers = 0;
|
||||
|
||||
s->fe->counters.failed_req++;
|
||||
s->fe->counters.denied_req++;
|
||||
if (s->listener->counters)
|
||||
s->listener->counters->failed_req++;
|
||||
s->listener->counters->denied_req++;
|
||||
|
||||
if (!(s->flags & SN_ERR_MASK))
|
||||
s->flags |= SN_ERR_PRXCOND;
|
||||
|
|
|
|||
Loading…
Reference in a new issue