]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: add support for "http-request tarpit" rule
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Dec 2012 11:37:57 +0000 (12:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2012 13:47:19 +0000 (14:47 +0100)
commitccbcc37a0120770b2049feac6026c682653207f8
treec9406bf8ca9949861bc52b3115c70fd87dd6cd34
parent81499eb67d5c3007268ab1674806fff3308301f3
MEDIUM: http: add support for "http-request tarpit" rule

The "reqtarpit" rule is not very handy to use. Now that we have more
flexibility with "http-request", let's finally make the tarpit rules
usable there.

There are still semantical differences between apply_filters_to_request()
and http_req_get_intercept_rule() because the former updates the counters
while the latter does not. So we currently have almost similar code leafs
for similar conditions, but this should be cleaned up later.
doc/configuration.txt
include/types/proto_http.h
src/proto_http.c