summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-01-11 15:46:09 +0800
committeryangwei <[email protected]>2024-01-11 15:46:09 +0800
commitaebc66e015ab457506fcf00646a13f7c2e7e8ae2 (patch)
tree8412168efee00939183ef1121a8bdb6e08894200
parenta7d76dda73ab097d056abf464c653d1798359c47 (diff)
🎈 perf(QUIC_MAX_UDP_PAYLOAD_SIZE): from 65527 to 1460
reduce mem alloc
-rw-r--r--src/quic_deprotection.h2
1 files changed, 1 insertions, 1 deletions
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) \
{ \