[Modify] Polish it
This commit is contained in:
parent
48266527a5
commit
7790de7846
@ -321,7 +321,10 @@ namespace WebSocketSharp.Net
|
||||
_sawCr = false;
|
||||
}
|
||||
|
||||
if (_state == InputChunkState.Trailer && offset < length) {
|
||||
if (_state == InputChunkState.Trailer) {
|
||||
if (offset >= length)
|
||||
return;
|
||||
|
||||
_state = setTrailer (buffer, ref offset, length);
|
||||
|
||||
if (_state == InputChunkState.Trailer)
|
||||
|
Loading…
Reference in New Issue
Block a user