]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: configurable http result codes for http-request deny
authorCJ Ess <zxcvbn4038@gmail.com>
Tue, 7 Apr 2015 16:03:37 +0000 (12:03 -0400)
committerWilly Tarreau <w@1wt.eu>
Sat, 11 Apr 2015 08:34:54 +0000 (10:34 +0200)
commit108b1dd69d4e26312af465237487bdb855b0de60
tree678ed2afd2fee331b6475489665873eb6bb21994
parentfc65af0c6180d1682f6bf76cf804cd003541b3e9
MEDIUM: http: configurable http result codes for http-request deny

This patch adds support for error codes 429 and 405 to Haproxy and a
"deny_status XXX" option to "http-request deny" where you can specify which
code is returned with 403 being the default. We really want to do this the
"haproxy way" and hope to have this patch included in the mainline. We'll
be happy address any feedback on how this is implemented.
doc/configuration.txt
include/types/proto_http.h
src/proto_http.c