From aebc66e015ab457506fcf00646a13f7c2e7e8ae2 Mon Sep 17 00:00:00 2001 From: yangwei Date: Thu, 11 Jan 2024 15:46:09 +0800 Subject: 🎈 perf(QUIC_MAX_UDP_PAYLOAD_SIZE): from 65527 to 1460 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit reduce mem alloc --- src/quic_deprotection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quic_deprotection.h b/src/quic_deprotection.h index cb6e814..11c0d03 100644 --- a/src/quic_deprotection.h +++ b/src/quic_deprotection.h @@ -44,7 +44,7 @@ extern "C" #endif -#define QUIC_MAX_UDP_PAYLOAD_SIZE 65527 +#define QUIC_MAX_UDP_PAYLOAD_SIZE 1460 #define quic_string(str) \ { \ -- cgit v1.2.3