mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-24 23:56:29 +00:00
2k buffer should be enough
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user