From 306931dfb1d3b40cf0e2364be0fe719389905feb Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Thu, 5 Mar 2026 10:01:56 +0100 Subject: [PATCH] BUG/MINOR: http-ana: Increment scf bytes_out value if an haproxy error is sent When an HAproxy error is sent, we must not forget to increment bytes_out value on the front stconn. This patch must be backport to 3.3. --- src/http_ana.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http_ana.c b/src/http_ana.c index 49440e6bd..7cd6529f1 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -4765,6 +4765,7 @@ 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; }