[Modify] Polish it

This commit is contained in:
sta 2021-03-21 21:27:37 +09:00
parent a260fe154e
commit 897a579980

View File

@ -123,7 +123,7 @@ namespace WebSocketSharp.Net
}
ares.Offset = 0;
ares.Count = Math.Min (_bufferLength, _decoder.ChunkLeft + 6);
ares.Count = _bufferLength;
base.BeginRead (ares.Buffer, ares.Offset, ares.Count, onRead, rstate);
}