]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: http: homogenize processing of denied req counter
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Nov 2013 09:13:35 +0000 (10:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Nov 2013 09:13:35 +0000 (10:13 +0100)
commit687ba13e92b7fa2420ef7d09ed437848dccbf5c4
tree3ff7eb2d3a7315c13ff04abfe6e5337997b228ad
parent8ac72496113dca34f5a49c6ac9a2cc80f5612f69
CLEANUP: http: homogenize processing of denied req counter

The reqdeny/reqideny and reqtarpit/reqitarpit rules used to maintain
the stats counters themselves while http-request deny/tarpit and
rspdeny/rspideny used to centralize them at the point where the
error is processed.

Thus, let's do the same for reqdeny/reqtarpit so that the functions
which iterate over the rules do not have to deal with these counters
anymore.
src/proto_http.c