[Modify] Polish it
This commit is contained in:
parent
976f44a2d1
commit
7bc9039350
@ -766,7 +766,7 @@ namespace WebSocketSharp
|
||||
ar => {
|
||||
try {
|
||||
var nread = stream.EndRead (ar);
|
||||
if (nread == 0) {
|
||||
if (nread <= 0) {
|
||||
if (retry < _retry) {
|
||||
retry++;
|
||||
stream.BeginRead (buff, offset, length, callback, null);
|
||||
|
Loading…
Reference in New Issue
Block a user