Use LUrlParser to fix issue of Windows (#53)

LGTM
This commit is contained in:
Dimon4eg
2019-05-07 00:45:02 +03:00
committed by Benjamin Sergeant
parent ea2e8f0787
commit 979ff60a6b
9 changed files with 366 additions and 52 deletions

View File

@ -137,9 +137,8 @@ namespace ix
{
std::string protocol, host, path, query;
int port;
bool websocket = true;
if (!UrlParser::parse(url, protocol, host, path, query, port, websocket))
if (!UrlParser::parse(url, protocol, host, path, query, port))
{
return WebSocketInitResult(false, 0,
std::string("Could not parse URL ") + url);