]> git.ipfire.org Git - thirdparty/haproxy.git/commit
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>
Wed, 10 Feb 2021 15:22:32 +0000 (16:22 +0100)
commitbf7175f9b6480fa25e859e226a1f460744e163cd
tree99645f4cc8e79f74a3ff33f475ad54afc8aa92e9
parentf4b707478489c64e696b5178a336d11b60f07122
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.
src/http_ana.c