mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-06 09:15:37 -05:00
reduce websocket buffer size
This commit is contained in:
@@ -56,8 +56,8 @@ func wsDial(ctx context.Context, dest v2net.Destination) (*wsconn, error) {
|
||||
|
||||
dialer := websocket.Dialer{
|
||||
NetDial: commonDial,
|
||||
ReadBufferSize: 65536,
|
||||
WriteBufferSize: 65536,
|
||||
ReadBufferSize: 32 * 1024,
|
||||
WriteBufferSize: 32 * 1024,
|
||||
}
|
||||
|
||||
protocol := "ws"
|
||||
|
||||
Reference in New Issue
Block a user