[Modify] Polish it
This commit is contained in:
parent
b0fa93b9f9
commit
3fc87d18ea
@ -194,8 +194,6 @@ namespace WebSocketSharp.Net
|
||||
if (b != 10)
|
||||
return InputChunkState.None;
|
||||
|
||||
_chunkRead = 0;
|
||||
|
||||
var val = _saved.ToString ();
|
||||
var s = removeChunkExtension (val);
|
||||
|
||||
@ -206,6 +204,8 @@ namespace WebSocketSharp.Net
|
||||
throwProtocolViolation ("The chunk size cannot be parsed.");
|
||||
}
|
||||
|
||||
_chunkRead = 0;
|
||||
|
||||
if (_chunkSize == 0) {
|
||||
_trailerState = 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user