[Modify] Move it

This commit is contained in:
sta 2021-03-13 21:45:34 +09:00
parent 5880514b23
commit 0df1c1e922

View File

@ -184,11 +184,11 @@ namespace WebSocketSharp.Net
if (!_gotIt)
_saved.Append ((char) b);
if (_saved.Length > 20)
throwProtocolViolation ("The chunk size is too long.");
}
if (_saved.Length > 20)
throwProtocolViolation ("The chunk size is too long.");
if (!_sawCr || b != 10)
return InputChunkState.None;