From df5ac8239d0772334708ec40698e5b600484cc0e Mon Sep 17 00:00:00 2001 From: mohanson Date: Thu, 3 Oct 2024 11:44:12 +0800 Subject: [PATCH] 2024-10-03 11:44:12 --- protocol/etch/engine.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/etch/engine.go b/protocol/etch/engine.go index 9f0cf50..eb0aee6 100644 --- a/protocol/etch/engine.go +++ b/protocol/etch/engine.go @@ -12,6 +12,8 @@ import ( var Conf = struct { PayloadSize int }{ + // The maximum safe udp payload is 508 bytes. This is a packet size of 576 (the minimum maximum reassembly buffer + // size), minus the maximum 60-byte ip header and the 8-byte udp header. PayloadSize: 508, }