From: Frédéric Lécaille Date: Fri, 31 Dec 2021 15:37:58 +0000 (+0100) Subject: MINOR: quic: Comment fix. X-Git-Tag: v2.6-dev1~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7ef97698ab93584d86b4ef91ac4239fd34e3e73;p=thirdparty%2Fhaproxy.git MINOR: quic: Comment fix. When we drop a packet with unknown length, this is the entire datagram which must be skipped. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 9ab675c1de..3ba009fa5c 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -4259,7 +4259,7 @@ static ssize_t qc_lstnr_pkt_rcv(unsigned char *buf, const unsigned char *end, return pkt->len; err: - /* If length not found, consume the entire packet */ + /* If length not found, consume the entire datagram */ if (!pkt->len) pkt->len = end - beg; TRACE_DEVEL("Leaving in error", QUIC_EV_CONN_LPKT,