فهرست منبع

In practice 32k buffer is never fully used.

V2Ray 10 سال پیش
والد
کامیت
4320c14efd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      common/net/transport.go

+ 1 - 1
common/net/transport.go

@@ -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.