[Modify] Replace it

master
sta 9 years ago
parent 2077be2c47
commit 9098020bfa

@ -524,15 +524,22 @@ namespace WebSocketSharp.Server
}
set {
var msg = _state.CheckIfAvailable (true, false, false);
if (msg != null) {
_log.Error (msg);
string msg;
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
lock (_sync) {
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}
_rootPath = value;
}
}
}
/// <summary>
/// Gets or sets the SSL configuration used to authenticate the server and

Loading…
Cancel
Save