mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-06 15:41:36 +01:00
BUG/MINOR: quic: Missing Initial packet dropping case
An Initial packet shorter than 1200 bytes must be dropped. The test was there without the "goto drop"! Must be backported to 2.6
This commit is contained in:
parent
8ecb7363b5
commit
e7df68a219
@ -5334,6 +5334,7 @@ static void qc_lstnr_pkt_rcv(unsigned char *buf, const unsigned char *end,
|
||||
dgram->len < QUIC_INITIAL_PACKET_MINLEN) {
|
||||
TRACE_PROTO("Too short datagram with an Initial packet", QUIC_EV_CONN_LPKT, qc);
|
||||
HA_ATOMIC_INC(&prx_counters->too_short_initial_dgram);
|
||||
goto drop;
|
||||
}
|
||||
|
||||
/* When multiple QUIC packets are coalesced on the same UDP datagram,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user