diff --git a/transport/internet/kcp/io.go b/transport/internet/kcp/io.go index c39b2d6d4..8548b7e2e 100644 --- a/transport/internet/kcp/io.go +++ b/transport/internet/kcp/io.go @@ -51,7 +51,7 @@ type KCPPacketWriter struct { Security cipher.AEAD Writer io.Writer - buffer [32 * 1024]byte + buffer [2048]byte } func (w *KCPPacketWriter) Overhead() int {