|
|
|
@ -298,15 +298,22 @@ namespace WebSocketSharp.Server
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set {
|
|
|
|
set {
|
|
|
|
var msg = _state.CheckIfAvailable (true, false, false);
|
|
|
|
string msg;
|
|
|
|
if (msg != null) {
|
|
|
|
if (!canSet (out msg)) {
|
|
|
|
_log.Error (msg);
|
|
|
|
_log.Warn (msg);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lock (_sync) {
|
|
|
|
|
|
|
|
if (!canSet (out msg)) {
|
|
|
|
|
|
|
|
_log.Warn (msg);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_listener.AuthenticationSchemes = value;
|
|
|
|
_listener.AuthenticationSchemes = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets a value indicating whether the server has started.
|
|
|
|
/// Gets a value indicating whether the server has started.
|
|
|
|
|