BUG/MINOR: http-ana: Don't increment HTTP error counter on internal errors
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Feb 2021 13:58:01 +0000 (14:58 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Feb 2021 09:23:24 +0000 (10:23 +0100)
commite01e583b1677d1f9d1859817e33b6c9c00fa4229
tree93dd55509567837d8a9bf1c3f505fc17496d847c
parent84dd97d11bc7b456f0161df71922ae1c5eaa376c
BUG/MINOR: http-ana: Don't increment HTTP error counter on internal errors

If internal error is reported by the mux during HTTP request parsing, the
HTTP error counter should not be incremented. It should only be incremented
on parsing error to reflect errors caused by clients.

This patch must be backported as far as 2.0. During the backport, the same
must be performed for 408-request-time-out errors.

(cherry picked from commit bf7175f9b6480fa25e859e226a1f460744e163cd)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/http_ana.c