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.
This commit is contained in:
Christopher Faulet 2026-03-05 10:01:56 +01:00
parent 4791501011
commit 306931dfb1

View File

@ -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;
}