[Modify] Polish it
This commit is contained in:
parent
beb70d6f73
commit
474c6ebf3f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user