[Modify] Remove it
This commit is contained in:
@@ -884,30 +884,6 @@ namespace WebSocketSharp.Server
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void start (ServerSslConfiguration sslConfig)
|
|
||||||
{
|
|
||||||
lock (_sync) {
|
|
||||||
if (_state == ServerState.Start || _state == ServerState.ShuttingDown)
|
|
||||||
return;
|
|
||||||
|
|
||||||
_sslConfigInUse = sslConfig;
|
|
||||||
_realmInUse = getRealm ();
|
|
||||||
|
|
||||||
_services.Start ();
|
|
||||||
|
|
||||||
try {
|
|
||||||
startReceiving ();
|
|
||||||
}
|
|
||||||
catch {
|
|
||||||
_services.Stop (1011, String.Empty);
|
|
||||||
|
|
||||||
throw;
|
|
||||||
}
|
|
||||||
|
|
||||||
_state = ServerState.Start;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void startReceiving ()
|
private void startReceiving ()
|
||||||
{
|
{
|
||||||
if (_reuseAddress) {
|
if (_reuseAddress) {
|
||||||
|
|||||||
Reference in New Issue
Block a user