mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-02 05:10:22 -05:00
[BUG] http: denied requests must not be counted as denied resps in listeners
Socket stats had a wrong counter. This harmless bugfix must be backported to 1.4.
This commit is contained in:
parent
f25fbad356
commit
bb695393da
1 changed files with 4 additions and 4 deletions
|
|
@ -5248,7 +5248,7 @@ int apply_filter_to_req_headers(struct session *t, struct buffer *req, struct hd
|
|||
|
||||
t->be->counters.denied_req++;
|
||||
if (t->listener->counters)
|
||||
t->listener->counters->denied_resp++;
|
||||
t->listener->counters->denied_req++;
|
||||
|
||||
break;
|
||||
|
||||
|
|
@ -5258,7 +5258,7 @@ int apply_filter_to_req_headers(struct session *t, struct buffer *req, struct hd
|
|||
|
||||
t->be->counters.denied_req++;
|
||||
if (t->listener->counters)
|
||||
t->listener->counters->denied_resp++;
|
||||
t->listener->counters->denied_req++;
|
||||
|
||||
break;
|
||||
|
||||
|
|
@ -5366,7 +5366,7 @@ int apply_filter_to_req_line(struct session *t, struct buffer *req, struct hdr_e
|
|||
|
||||
t->be->counters.denied_req++;
|
||||
if (t->listener->counters)
|
||||
t->listener->counters->denied_resp++;
|
||||
t->listener->counters->denied_req++;
|
||||
|
||||
done = 1;
|
||||
break;
|
||||
|
|
@ -5376,7 +5376,7 @@ int apply_filter_to_req_line(struct session *t, struct buffer *req, struct hdr_e
|
|||
|
||||
t->be->counters.denied_req++;
|
||||
if (t->listener->counters)
|
||||
t->listener->counters->denied_resp++;
|
||||
t->listener->counters->denied_req++;
|
||||
|
||||
done = 1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue