MEDIUM: http-ana: Always report rewrite failures as PRXCOND in logs
Rewrite failures in http rules are reported as proxy errors (PRXCOND) in
logs. However, other rewrite errors are reported as internal errors. For
instance, it happens when we fail to add X-Forwarded-For header. It is not
consistent and it is confusing. So now, all rewite failures are reported as
proxy errors.
This patch may be backported if necessary.
(cherry picked from commit d649b575192d562fc4cbec008c3a2dfca1ee255e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 615bc7e9b5f6e43b085a8d0224f97a33bafa40a8)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 8696b30d44b24cadf7bb53649b1dbffb3061475a)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed