mirror of https://github.com/v2ray/v2ray-core
In practice 32k buffer is never fully used.
parent
dfdea480ff
commit
4320c14efd
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue