MEDIUM: http-ana: Always report rewrite failures as PRXCOND in logs
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Jun 2022 15:42:35 +0000 (17:42 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 2 Jun 2022 10:21:32 +0000 (12:21 +0200)
commitd649b575192d562fc4cbec008c3a2dfca1ee255e
tree3628c11d6c6fdf00a11e1fbc07550da835a92254
parent89f2626c19eac0c27f539039fd950b5b8f2ec7ee
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.
src/http_ana.c