1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-03 07:56:42 -05:00

2k buffer should be enough

This commit is contained in:
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

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 {