mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-03-16 11:25:42 -04:00
In practice 32k buffer is never fully used.
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
bufferSize = 32 * 1024
|
||||
bufferSize = 4 * 1024
|
||||
)
|
||||
|
||||
// ReaderToChan dumps all content from a given reader to a chan by constantly reading it until EOF.
|
||||
|
||||
Reference in New Issue
Block a user