[Modify] Remove it
This commit is contained in:
parent
1f9a496220
commit
0beba615cc
@ -731,28 +731,6 @@ namespace WebSocketSharp.Server
|
|||||||
|| name == _hostname;
|
|| name == _hostname;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool checkServicePath (string path, out string message)
|
|
||||||
{
|
|
||||||
message = null;
|
|
||||||
|
|
||||||
if (path.IsNullOrEmpty ()) {
|
|
||||||
message = "'path' is null or empty.";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (path[0] != '/') {
|
|
||||||
message = "'path' is not an absolute path.";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (path.IndexOfAny (new[] { '?', '#' }) > -1) {
|
|
||||||
message = "'path' includes either or both query and fragment components.";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private bool checkSslConfiguration (
|
private bool checkSslConfiguration (
|
||||||
ServerSslConfiguration configuration, out string message
|
ServerSslConfiguration configuration, out string message
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user