MINOR: quic: use real sending rate measurement
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 28 Apr 2023 14:24:44 +0000 (16:24 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 28 Apr 2023 14:52:26 +0000 (16:52 +0200)
commit1bcb695a05bb791d927042e99bb54149b5c2bc67
tree5e285cf8ea4ab6c3c146c83e9b3401747e5175d6
parent5529c9985eb3908f78f90cc83558a568b3262182
MINOR: quic: use real sending rate measurement

Before this patch, global sending rate was measured on the QUIC lower
layer just after sendto(). This meant that all QUIC frames were
accounted for, including non STREAM frames and also retransmission.

To have a better reflection of the application data transferred, move
the incrementation into the MUX layer. This allows to account only for
STREAM frames payload on their first emission.

This should be backported up to 2.6.
src/mux_quic.c
src/quic_sock.c