diff --git a/websocket-sharp/Server/WebSocketServer.cs b/websocket-sharp/Server/WebSocketServer.cs index 4d92b7b1..571bd293 100644 --- a/websocket-sharp/Server/WebSocketServer.cs +++ b/websocket-sharp/Server/WebSocketServer.cs @@ -731,28 +731,6 @@ namespace WebSocketSharp.Server || 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 ( ServerSslConfiguration configuration, out string message )