[Modify] Polish it

This commit is contained in:
sta 2020-11-17 20:42:21 +09:00
parent beb70d6f73
commit 474c6ebf3f

View File

@ -331,8 +331,15 @@ namespace WebSocketSharp.Net
return;
}
try {
conn._stream.BeginRead (conn._buffer, 0, _bufferLength, onRead, conn);
}
catch (Exception) {
// TODO: Logging.
conn.close ();
}
}
}
private static void onTimeout (object state)