1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 09:56:18 -05:00

In practice 32k buffer is never fully used.

This commit is contained in:
V2Ray 2015-09-22 13:25:17 +02:00
parent dfdea480ff
commit 4320c14efd

View File

@ -5,7 +5,7 @@ import (
) )
const ( const (
bufferSize = 32 * 1024 bufferSize = 4 * 1024
) )
// ReaderToChan dumps all content from a given reader to a chan by constantly reading it until EOF. // ReaderToChan dumps all content from a given reader to a chan by constantly reading it until EOF.