From: Christopher Faulet Date: Tue, 1 Dec 2026 08:12:29 +0000 (+0100) Subject: Revert "BUG/MINOR: http-ana: Increment scf bytes_out value if an haproxy error is... X-Git-Url: https://git.kaiwu.me/web/%7B@url%7D?a=commitdiff_plain;h=2da824f9faca8b6be0b651578c04846403778e1e;p=haproxy.git Revert "BUG/MINOR: http-ana: Increment scf bytes_out value if an haproxy error is sent" This reverts commit 306931dfb1d3b40cf0e2364be0fe719389905feb. The internal responses are already accounted when data are forwarded to the mux on front side, in sc_conn_send(). This patch should fix the issue #3614. It must be backported as far as 3.3. --- diff --git a/src/http_ana.c b/src/http_ana.c index ca103dc50..6ff4fba44 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -4906,7 +4906,6 @@ int http_forward_proxy_resp(struct stream *s, int final) data = htx->data - co_data(res); c_adv(res, data); htx->first = -1; - s->scf->bytes_out += data; return 1; }