]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] http: add options to ignore invalid header names
authorWilly Tarreau <w@1wt.eu>
Thu, 2 Apr 2009 09:35:18 +0000 (11:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Apr 2009 19:36:34 +0000 (21:36 +0200)
commit32a4ec0ed758c794ea1010f164658219cbf2e9ae
treee8ce0fdd4124d38dadd626b4090b4ff6a4014e8b
parent61d188920e8e2359cc9952b64c28eeb565d81fdc
[MEDIUM] http: add options to ignore invalid header names

Sometimes it is required to let invalid requests pass because
applications sometimes take time to be fixed and other servers
do not care. Thus we provide two new options :

     option accept-invalid-http-request  (for the frontend)
     option accept-invalid-http-response (for the backend)

When those options are set, invalid requests or responses do
not cause a 403/502 error to be generated.
include/types/proto_http.h
include/types/proxy.h
src/cfgparse.c
src/client.c
src/proto_http.c