|
|
|
@ -324,18 +324,18 @@ namespace WebSocketSharp.Net
|
|
|
|
return bestMatch;
|
|
|
|
return bestMatch;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var list = _unhandled;
|
|
|
|
var prefs = _unhandled;
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (path, list, out prefix);
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (path, prefs, out prefix);
|
|
|
|
if (path != pathSlash && bestMatch == null)
|
|
|
|
if (bestMatch == null && pathSlash != path)
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (pathSlash, list, out prefix);
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (pathSlash, prefs, out prefix);
|
|
|
|
|
|
|
|
|
|
|
|
if (bestMatch != null)
|
|
|
|
if (bestMatch != null)
|
|
|
|
return bestMatch;
|
|
|
|
return bestMatch;
|
|
|
|
|
|
|
|
|
|
|
|
list = _all;
|
|
|
|
prefs = _all;
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (path, list, out prefix);
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (path, prefs, out prefix);
|
|
|
|
if (path != pathSlash && bestMatch == null)
|
|
|
|
if (bestMatch == null && pathSlash != path)
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (pathSlash, list, out prefix);
|
|
|
|
bestMatch = searchHttpListenerFromSpecial (pathSlash, prefs, out prefix);
|
|
|
|
|
|
|
|
|
|
|
|
return bestMatch;
|
|
|
|
return bestMatch;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|