]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: http: merge error handling for req* and http-request *
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Nov 2013 09:28:23 +0000 (10:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Nov 2013 09:30:14 +0000 (10:30 +0100)
commit3b44e729e5526bf4e05a8451c0f1a81c5c64e451
tree400ec0fc2d9dd468aa0c13654cb26af553bbb95d
parent687ba13e92b7fa2420ef7d09ed437848dccbf5c4
CLEANUP: http: merge error handling for req* and http-request *

The reqdeny/reqtarpit and http-request deny/tarpit were using
a copy-paste of the error handling code because originally the
req* actions used to maintain their own stats. This is not the
case anymore so we can use the same error blocks for both.

The http-request rulesets still has precedence over req* so no
functionality was changed.
src/proto_http.c