]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http-rules: Enable the strict rewriting mode by default
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Jan 2020 15:03:53 +0000 (16:03 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commit1aea50e1ff886de15948c8fbe91b8c88f89dd83e
treeb5720d40d8127db3b64b9d58c8fc7489de61980b
parent46f95543c53b6ef74bdd5ba561e99e7452df1d5f
MEDIUM: http-rules: Enable the strict rewriting mode by default

Now, by default, when a rule performing a rewrite on an HTTP message fails, an
internal error is triggered. Before, the failure was ignored. But most of users
are not aware of this behavior. And it does not happen very often because the
buffer reserve space in large enough. So it may be surprising. Returning an
internal error makes the rewrite failure explicit. If it is acceptable to
silently ignore it, the strict rewriting mode can be disabled.
doc/configuration.txt
src/http_ana.c