[Modify] Polish it
This commit is contained in:
parent
8876b63a1e
commit
0133cd605c
@ -927,8 +927,10 @@ namespace WebSocketSharp.Server
|
||||
|
||||
private void processRequest (HttpListenerWebSocketContext context)
|
||||
{
|
||||
var path = context.RequestUri.AbsolutePath;
|
||||
|
||||
WebSocketServiceHost host;
|
||||
if (!_services.InternalTryGetServiceHost (context.RequestUri.AbsolutePath, out host)) {
|
||||
if (!_services.InternalTryGetServiceHost (path, out host)) {
|
||||
context.Close (HttpStatusCode.NotImplemented);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user