mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-07-26 11:44:22 -04:00
2k buffer should be enough
This commit is contained in:
parent
85a93e9602
commit
443fd7c9a5
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user