[Modify] Remove it

This commit is contained in:
sta 2021-12-19 22:18:16 +09:00
parent a91043641b
commit b96e35d164

View File

@ -710,25 +710,6 @@ namespace WebSocketSharp.Server
return _state == ServerState.Ready || _state == ServerState.Stop;
}
private bool canSet (out string message)
{
message = null;
if (_state == ServerState.Start) {
message = "The server has already started.";
return false;
}
if (_state == ServerState.ShuttingDown) {
message = "The server is shutting down.";
return false;
}
return true;
}
private bool checkHostNameForRequest (string name)
{
return !_dnsStyle