[Modify] Polish it
This commit is contained in:
parent
7790de7846
commit
1c842fedaf
@ -333,8 +333,10 @@ namespace WebSocketSharp.Net
|
|||||||
_saved.Length = 0;
|
_saved.Length = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (offset < length)
|
if (offset >= length)
|
||||||
write (buffer, offset, length);
|
return;
|
||||||
|
|
||||||
|
write (buffer, offset, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
private InputChunkState writeData (
|
private InputChunkState writeData (
|
||||||
|
Loading…
Reference in New Issue
Block a user