]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-ana: Add a txn flag to support soft/strict message rewrites
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 12 Dec 2019 15:41:00 +0000 (16:41 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Jan 2020 14:18:45 +0000 (15:18 +0100)
commita00071e2e5aa9946d2762a484bea298db2ae344d
tree76b1144c133427395af2c16dfa9e6398252b25f4
parentcff0f739e515f0f692c92722e2fbcdba11b52eae
MINOR: http-ana: Add a txn flag to support soft/strict message rewrites

the HTTP_MSGF_SOFT_RW flag must now be set on the HTTP transaction to ignore
rewrite errors on a message, from HTTP rules. The mode is called the soft
rewrites. If thes flag is not set, strict rewrites are performed. In this mode,
if a rewrite error occurred, an internal error is reported.

For now, HTTP_MSGF_SOFT_RW is always set and there is no way to switch a
transaction in strict mode.
include/types/http_ana.h
src/http_ana.c