]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Avoid sending truncated datagrams
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 3 Aug 2022 18:52:20 +0000 (20:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 3 Aug 2022 19:09:04 +0000 (21:09 +0200)
commit48bb8759086e5edc01d04a93ee76f2b16b0c663a
tree709d273ca0061ee043ea61fe1256f6938634f85e
parent30e260e2e6bd22d0ebece004dc84f13d17ae79f4
BUG/MINOR: quic: Avoid sending truncated datagrams

There is a remaining loop in this ugly qc_snd_buf() function which could
lead haproxy to send truncated UDP datagrams. For now on, we send
a complete UDP datagram or nothing!

Must be backported to 2.6.
src/quic_sock.c