|
|
|
|
@ -501,8 +501,14 @@ namespace WebSocketSharp.Server
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
set {
|
|
|
|
|
var msg = _state.CheckIfAvailable (true, false, false);
|
|
|
|
|
if (msg != null) {
|
|
|
|
|
string msg;
|
|
|
|
|
if (!checkIfAvailable (true, false, false, true, out msg)) {
|
|
|
|
|
_logger.Error (msg);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lock (_sync) {
|
|
|
|
|
if (!checkIfAvailable (true, false, false, true, out msg)) {
|
|
|
|
|
_logger.Error (msg);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
@ -510,6 +516,7 @@ namespace WebSocketSharp.Server
|
|
|
|
|
_reuseAddress = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the SSL configuration used to authenticate the server and
|
|
|
|
|
|