]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream: Add samples to get number of bytes received or sent on each side
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 4 Nov 2025 17:06:19 +0000 (18:06 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Nov 2025 14:01:28 +0000 (15:01 +0100)
commitac9201f929832c59ad79e667c557a42234798ca8
treeba82c70cd0a84217dd679c86ab67d10948d5efde
parent629fbbce19482879110c1ff13e37ccbcefde9f1d
MINOR: stream: Add samples to get number of bytes received or sent on each side

req.in and req.out samples can now be used to get the number of bytes
received by a client and send to the server. And res.in and res.out samples
can be used to get the number of bytes received by a server and send to the
client. These info are stored in the logs structure inside a stream.

This patch is related to issue #1617.
doc/configuration.txt
include/haproxy/stream-t.h
src/cli.c
src/http_ana.c
src/sample.c
src/stream.c