]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Comment fix.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 31 Dec 2021 15:37:58 +0000 (16:37 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Tue, 4 Jan 2022 16:30:00 +0000 (17:30 +0100)
When we drop a packet with unknown length, this is the entire datagram which
must be skipped.

src/xprt_quic.c

index 9ab675c1dea7c64ec3d1069a6b9a17e0efe43601..3ba009fa5c51360bf83519e657caa043cbab51ea 100644 (file)
@@ -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,