BUG/MINOR: http-ana: increment internal_errors counter on response error
authorDragan Dosen <ddosen@haproxy.com>
Tue, 21 Sep 2021 11:02:09 +0000 (13:02 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 1 Oct 2021 16:52:15 +0000 (18:52 +0200)
commitb27700ad1e7c09c5ba0734e25551e2b4cf90a2dd
treea7d0354940615b85d29b671e0cde5d8be3b4bc4e
parentf381b3afa0f9fd779027b2c7e0f6fd05cc164183
BUG/MINOR: http-ana: increment internal_errors counter on response error

A bug was introduced in the commit cff0f739e51 ("MINOR: counters: Review
conditions to increment counters from analysers"). The internal_errors
counter for the target server was incremented twice. The counter for the
session listener needs to be incremented instead.

This must be backported everywhere the commit cff0f739e51 is.

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