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.kaiwu.me/postgresql/log/contrib/postgres_fdw/NGINX-js-1660x332.png%20%22NGINX%20JavaScript%20Banner%22?a=commitdiff_plain;h=f7ef97698ab93584d86b4ef91ac4239fd34e3e73;p=haproxy.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 9ab675c1d..3ba009fa5 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,