]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Prepare quic_frame struct duplication
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 21 Apr 2022 15:32:10 +0000 (17:32 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 14:22:40 +0000 (16:22 +0200)
commitb917191817616f56509a1dde65cc9df0812698bc
tree6b1dcb09d7b71a140f1ea44cbc559186a8bda954
parentfc88844d2ca289b349c832263a490145840dc227
MINOR: quic: Prepare quic_frame struct duplication

We want to track the frames which have been duplicated during retransmissions so
that to avoid uselessly retransmitting frames which would already have been
acknowledged. ->origin new member is there to store the frame from which a copy
was done, ->reflist is a list to store the frames which are copies.
Also ensure all the frames are zeroed and that their ->reflist list member is
initialized.
Add QUIC_FL_TX_FRAME_ACKED flag definition to mark a TX frame as acknowledged.
include/haproxy/quic_frame-t.h
src/mux_quic.c
src/xprt_quic.c