From 6458a28ec3cdd0e49b346df0d4578dcae1c2f7ef Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 2 Nov 2020 20:58:45 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Net/HttpConnection.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Net/HttpConnection.cs b/websocket-sharp/Net/HttpConnection.cs index 76df915a..601cb55a 100644 --- a/websocket-sharp/Net/HttpConnection.cs +++ b/websocket-sharp/Net/HttpConnection.cs @@ -364,10 +364,12 @@ namespace WebSocketSharp.Net } } - // true -> Done processing. - // false -> Need more input. private bool processInput (byte[] data, int length) { + // This method returns a bool: + // - true Done processing + // - false Need more input + if (_currentLine == null) _currentLine = new StringBuilder (64);