]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Frames leak during retransmissions
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 1 Sep 2022 08:51:19 +0000 (10:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 2 Sep 2022 06:47:38 +0000 (08:47 +0200)
commita1075209c7a9544bb3f0afa30ac4506c2879fb76
treeb1c75bf2acd1241f8580e16cd3222a0c3f3d0a38
parenta777ee36f61554983ab5378c5579cb59825e7d71
BUG/MINOR: quic: Frames leak during retransmissions

The frame which are retransmitted by qc_dgrams_retransmit() are duplicated
from sent but not acknowledged packets and added to local frames lists.
Some may not have been sent. If not replaced somewhere (linked to the
connection) they are lost for ever (leak). We splice the list remaining
contents to the packets number space frame list to avoid such a situation.

Must be backported to 2.6.
src/xprt_quic.c