From 9e402bcb9c61c2fcef609ac65e8c4fb3b492e7a0 Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Sun, 18 Jun 2017 01:21:00 -0700 Subject: [PATCH] Increase the read buffer --- Ooui/UI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ooui/UI.cs b/Ooui/UI.cs index ea4d5df..ef3be04 100644 --- a/Ooui/UI.cs +++ b/Ooui/UI.cs @@ -322,7 +322,7 @@ namespace Ooui // // Start the Read Loop // - var receiveBuffer = new byte[1024]; + var receiveBuffer = new byte[64*1024]; while (webSocket.State == WebSocketState.Open && !token.IsCancellationRequested) { var receiveResult = await webSocket.ReceiveAsync(new ArraySegment(receiveBuffer), token).ConfigureAwait (false);