mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 07:24:32 +00: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
@ -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 New Issue
Block a user