2k buffer should be enough

pull/1549/head
Darien Raymond 2017-12-03 16:39:51 +01:00
parent 85a93e9602
commit 443fd7c9a5
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

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 {