]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: quic: realign empty Rx buffer
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 17 May 2022 13:01:25 +0000 (15:01 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 13:16:26 +0000 (15:16 +0200)
commit82c51b561e82100aedbf88c957b2b70a1d83c122
tree448ce73db96436de448be450d63f1a3d753c39d0
parent80d0572a3151f3cc9799d924aab5b22542d35f31
OPTIM: quic: realign empty Rx buffer

quic_rx_pkts_del() function removes packets from QUIC RX buffer. In most
cases, the buffer will be emptied after it. In this case, it's useful to
realign it. This will avoid future data wrapping and use of an
unnecessary junk to fill a too small contiguous space.
include/haproxy/xprt_quic.h