]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: block rules forgot to increment the denied_req counter
authorWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2014 16:27:12 +0000 (18:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Apr 2014 16:46:40 +0000 (18:46 +0200)
commit5fa70829111f8f8c86e67c962a3f8a98cb3c6e02
treeeff730aba0240f8206442dec4d4436d0889d1334
parentbbba2a8ecc35daf99317aaff7015c1931779c33b
BUG/MINOR: http: block rules forgot to increment the denied_req counter

"block" rules used to build the whole response and forgot to increment
the denied_req counters. By jumping to the general "deny" label created
in previous patch, it's easier to fix this.

The issue was already present in 1.3 and remained unnoticed, in part
because few people use "block" nowadays.
src/proto_http.c