BUG/MINOR: http-ana: Don't increment HTTP error counter on read error/timeout
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Mar 2021 10:24:10 +0000 (11:24 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Mar 2021 10:24:11 +0000 (11:24 +0100)
commit054fd32ba661887888b9667353f2c42164141f23
tree1b49e008647c817936f1d504f58f3774b58cad2f
parent31871d22827508fcbfe1064a831d220084e19d74
BUG/MINOR: http-ana: Don't increment HTTP error counter on read error/timeout

This should have been fixed when the commit "BUG/MINOR: http-ana: Don't
increment HTTP error counter on internal errors" was backported but I forgot
to do so. The HTTP error counter must not be incremented if a read error or
a read timeout is encountered. Parsing error are already reported by the
mux.

This patch must be backported as far as 2.0, on the HTX part only.
src/http_ana.c