BUG/MINOR: http-ana: Don't report a server abort if response payload is invalid
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Oct 2024 09:46:07 +0000 (11:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 17 Oct 2024 11:53:40 +0000 (13:53 +0200)
commit6790067e79566b2ca5943e72200361c40001bde2
tree7aa9cf60525377f71c2452da71e5a3dccf3d7aaa
parentf98feda53f8ebe55b6f16bcd6c4fba9d7d6d69cb
BUG/MINOR: http-ana: Don't report a server abort if response payload is invalid

If a parsing error is reported by the mux on the response payload, a proxy
error (PRXCOND) must be reported instead of a server abort (SRVCL). Because
of this bug, inavlid response may are reported as "SD--" or "SL--" in logs
instead of "PD--" or "PL--".

This patch must be backported to all stable versions.
src/http_ana.c