BUG/MINOR: stconn/applet: Report send activity only if there was output data
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Nov 2023 14:26:57 +0000 (15:26 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Nov 2023 14:36:43 +0000 (15:36 +0100)
commit7676a2cdf6ceb3fa68156f7c47ade5e23c4094fd
treed467152162cac4b907c40211e75ed2a53ee2a956
parentab5ecaa2ea57aae22b22e98c7c57de5d67a3891a
BUG/MINOR: stconn/applet: Report send activity only if there was output data

For applets and connection, when a send attempt is performed, we must be
sure to not report a send activity if there was no output data at all before
the attempt.

It is not important for the <fsb> date itself but for the <lra> date for
non-independent stream.

This patch must be backported to 2.8.
src/applet.c
src/stconn.c