1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-28 10:15:23 +00:00

lower default buffer size to 10M

This commit is contained in:
Darien Raymond 2017-05-19 00:21:48 +02:00
parent 087a91c46c
commit 479c22c17d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -40,7 +40,7 @@ func (v *directRay) InboundOutput() InputStream {
return v.Output
}
var streamSizeLimit uint64 = 20 * 1024 * 1024
var streamSizeLimit uint64 = 10 * 1024 * 1024
func init() {
const raySizeEnvKey = "v2ray.ray.buffer.size"