mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02:00
MINOR: quic: Comment fix.
When we drop a packet with unknown length, this is the entire datagram which must be skipped.
This commit is contained in:
parent
a56054e438
commit
f7ef97698a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user