]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Add a counter for sent packets
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 24 May 2023 13:55:14 +0000 (15:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 May 2023 14:30:11 +0000 (16:30 +0200)
commit12a815ad19427ccfadeadfc33ac8ef4ebcd083c3
tree98654dfc8085f1a340111781117b250459508172
parentbdd64fd71d4329172e4e7466fb7dfa85331d9796
MINOR: quic: Add a counter for sent packets

Add ->sent_pkt counter to quic_conn struct to count the packet at QUIC connection
level. Then, when the connection is released, the ->sent_pkt counter value
is added to the one for the listener.

Must be backported to 2.7.
include/haproxy/quic_conn-t.h
include/haproxy/quic_stats-t.h
src/quic_conn.c
src/quic_stats.c