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

@ -47,9 +47,8 @@ namespace ix
std::string protocol, host, path, query;
int port;
bool websocket = false;
if (!UrlParser::parse(url, protocol, host, path, query, port, websocket))
if (!UrlParser::parse(url, protocol, host, path, query, port))
{
std::stringstream ss;
ss << "Cannot parse url: " << url;