|
|
|
@ -524,15 +524,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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
_rootPath = value;
|
|
|
|
_rootPath = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the SSL configuration used to authenticate the server and
|
|
|
|
/// Gets or sets the SSL configuration used to authenticate the server and
|
|
|
|
|