From d936140090b8aa32bd680e3a47d02641f60ff82a Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 15 Mar 2021 21:11:28 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/ChunkStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/ChunkStream.cs b/websocket-sharp/Net/ChunkStream.cs index 44990271..447853ad 100644 --- a/websocket-sharp/Net/ChunkStream.cs +++ b/websocket-sharp/Net/ChunkStream.cs @@ -191,7 +191,7 @@ namespace WebSocketSharp.Net if (_saved.Length > 20) throwProtocolViolation ("The chunk size is too long."); - if (!_sawCr || b != 10) + if (b != 10) return InputChunkState.None; _chunkRead = 0;