[MEDIUM] introduce "timeout http-request" in frontends
authorWilly Tarreau <w@1wt.eu>
Sun, 6 Jan 2008 12:24:40 +0000 (13:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 6 Jan 2008 12:24:40 +0000 (13:24 +0100)
commit036fae0ec927ec9d60956ca8748cd3d203c11fe6
tree2870efdcefb5e150c70f4947f560acbe29d4742e
parenta0250ba38da12775bcc829b13c063aa4e5e37b25
[MEDIUM] introduce "timeout http-request" in frontends

In order to offer DoS protection, it may be required to lower the maximum
accepted time to receive a complete HTTP request without affecting the client
timeout. This helps protecting against established connections on which
nothing is sent. The client timeout cannot offer a good protection against
this abuse because it is an inactivity timeout, which means that if the
attacker sends one character every now and then, the timeout will not
trigger. With the HTTP request timeout, no matter what speed the client
types, the request will be aborted if it does not complete in time.
doc/configuration.txt
include/types/proto_http.h
include/types/proxy.h
src/cfgparse.c
src/client.c
src/proto_http.c
src/proxy.c
tests/test-timeout.cfg