mirror of https://github.com/v2ray/v2ray-core
2k buffer should be enough
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…
Reference in New Issue