From 862df96fdd926b15e54459bd97dd8ff8d3bc68c3 Mon Sep 17 00:00:00 2001 From: 6c67b9 <222849858+6c67b9@users.noreply.github.com> Date: Mon, 16 Feb 2026 16:29:10 +0800 Subject: [PATCH] Increase max useless records from 16 to 32 --- common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.go b/common.go index 8b19ccf..28f4af0 100644 --- a/common.go +++ b/common.go @@ -67,7 +67,7 @@ const ( recordHeaderLen = 5 // record header length maxHandshake = 65536 // maximum handshake we support (protocol max is 16 MB) maxHandshakeCertificateMsg = 262144 // maximum certificate message size (256 KiB) - maxUselessRecords = 16 // maximum number of consecutive non-advancing records + maxUselessRecords = 32 // maximum number of consecutive non-advancing records ) // TLS record types.