From d190ae8e66160aef7dc3c91828c3c4da4e449e36 Mon Sep 17 00:00:00 2001 From: wangfuyu Date: Wed, 12 Jan 2022 00:10:18 +0800 Subject: [PATCH] m) fix: handshake may failed if client send too many early data (#352) Co-authored-by: wangfuyu --- src/liblsquic/lsquic_mini_conn.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/liblsquic/lsquic_mini_conn.c b/src/liblsquic/lsquic_mini_conn.c index b765f29..94cda81 100644 --- a/src/liblsquic/lsquic_mini_conn.c +++ b/src/liblsquic/lsquic_mini_conn.c @@ -1853,8 +1853,10 @@ mini_conn_ci_packet_in (struct lsquic_conn *lconn, process_deferred_packets(mc); } else - LSQ_DEBUG("won't defer more than %u packets: drop", - MINI_CONN_MAX_DEFERRED); + { + process_packet(mc, packet_in); + process_deferred_packets(mc); + } }