Increase the read buffer

This commit is contained in:
Frank A. Krueger 2017-06-18 01:21:00 -07:00
parent b660028074
commit 9e402bcb9c
1 changed files with 1 additions and 1 deletions

View File

@ -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<byte>(receiveBuffer), token).ConfigureAwait (false);