[Modify] Polish it
This commit is contained in:
parent
a36b0b7503
commit
0b3cc3a369
@ -697,16 +697,10 @@ namespace WebSocketSharp.Net
|
||||
string requestUri, string host, bool websocketRequest, bool secure
|
||||
)
|
||||
{
|
||||
if (requestUri == null)
|
||||
if (requestUri == null || requestUri.Length == 0)
|
||||
return null;
|
||||
|
||||
if (host == null)
|
||||
return null;
|
||||
|
||||
if (requestUri.Length == 0)
|
||||
return null;
|
||||
|
||||
if (host.Length == 0)
|
||||
if (host == null || host.Length == 0)
|
||||
return null;
|
||||
|
||||
string schm = null;
|
||||
|
Loading…
Reference in New Issue
Block a user