]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Do not reset a full RX buffer
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 27 Jan 2022 11:19:28 +0000 (12:19 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Jan 2022 15:37:55 +0000 (16:37 +0100)
commit320744b53d6d422346348c800f7f624cce8df93e
tree6e1e3357d633af5a39ce43944a036e06b188c3ae
parent37ae505c217106c5686f4dfc62cff31d6e051724
MINOR: quic: Do not reset a full RX buffer

As the RX buffer is not consumed by the sock i/o handler as soon as a datagram
is produced, when full an RX buffer must not be reset. The remaining room is
consumed without modifying it. The consumer has a represention of its contents:
a list of datagrams.
src/quic_sock.c