2k buffer should be enough

This commit is contained in:
Darien Raymond
2017-12-03 16:39:51 +01:00
parent 85a93e9602
commit 443fd7c9a5
+1 -1
View File
@@ -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 {