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