mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +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;
|
return pkt->len;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
/* If length not found, consume the entire packet */
|
/* If length not found, consume the entire datagram */
|
||||||
if (!pkt->len)
|
if (!pkt->len)
|
||||||
pkt->len = end - beg;
|
pkt->len = end - beg;
|
||||||
TRACE_DEVEL("Leaving in error", QUIC_EV_CONN_LPKT,
|
TRACE_DEVEL("Leaving in error", QUIC_EV_CONN_LPKT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user