@ -649,19 +649,20 @@ namespace WebSocketSharp
}
try {
if (acceptHandshake ()) {
if (!acceptHandshake ())
return false;
_readyState = WebSocketState.Open;
return true;
catch (Exception ex) {
_logger.Fatal (ex.ToString ());
fatal ("An exception has occurred while accepting.", ex);
// As server
private bool acceptHandshake ()