]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-rules: Add a rule to enable or disable the strict rewriting mode
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 20 Dec 2019 09:07:22 +0000 (10:07 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit46f95543c53b6ef74bdd5ba561e99e7452df1d5f
tree9db0ba827983a46d19133c0eee2b43be0123dfea
parente00d06c99fa734beeb84642aa52d9bc75f33719b
MINOR: http-rules: Add a rule to enable or disable the strict rewriting mode

It is now possible to explicitly instruct rewriting rules to be strict or not
towards errors. It means that in this mode, an internal error is trigger if a
rewrite rule fails. The HTTP action "strict-mode" can be used to enable or
disable the strict rewriting mode. It can be used in an http-request and an
http-response ruleset.

For now, by default the strict rewriting mode is disabled. Because it is the
current behavior. But it will be changed in another patch.
doc/configuration.txt
src/http_act.c
src/http_ana.c