[Modify] Move it
This commit is contained in:
parent
5880514b23
commit
0df1c1e922
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user