]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Wrong RX buffer tail handling when no more contiguous data
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 28 Jan 2022 12:10:24 +0000 (13:10 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 28 Jan 2022 15:08:07 +0000 (16:08 +0100)
commit1712b1df595eb66b1234f2f089208b408e18ba07
treedc38d1c8eeb235f899dbf1520124132f24cd54dd
parentdc36404c3621b4fbc2df0f5c64ffc23e4cf7a445
MINOR: quic: Wrong RX buffer tail handling when no more contiguous data

The producer must know where is the tailing hole in the RX buffer
when it purges it from consumed datagram. This is done allocating
a fake datagram with the remaining number of bytes which cannot be produced
at the tail of the RX buffer as length.
src/quic_sock.c