|
|
|
@ -944,15 +944,12 @@ namespace WebSocketSharp.Server
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (HttpListenerException ex) {
|
|
|
|
catch (HttpListenerException) {
|
|
|
|
if (_state == ServerState.ShuttingDown) {
|
|
|
|
_log.Info ("The underlying listener is stopped.");
|
|
|
|
_log.Info ("The receiving is stopped.");
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (InvalidOperationException) {
|
|
|
|
_log.Fatal (ex.Message);
|
|
|
|
_log.Info ("The underlying listener is stopped.");
|
|
|
|
_log.Debug (ex.ToString ());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (Exception ex) {
|
|
|
|
catch (Exception ex) {
|
|
|
|
|