[URGENT] Fix for simpleminer's MinerGate compatibility (reconnection issues in invoke_request when hostname is not
specified in the url).
This commit is contained in:
parent
57cf536258
commit
3742cce0a9
1 changed files with 1 additions and 1 deletions
|
@ -856,7 +856,7 @@ using namespace std;
|
||||||
http::url_content u_c;
|
http::url_content u_c;
|
||||||
bool res = parse_url(url, u_c);
|
bool res = parse_url(url, u_c);
|
||||||
|
|
||||||
if(!tr.is_connected())
|
if(!tr.is_connected() && !u_c.host.empty())
|
||||||
{
|
{
|
||||||
CHECK_AND_ASSERT_MES(res, false, "failed to parse url: " << url);
|
CHECK_AND_ASSERT_MES(res, false, "failed to parse url: " << url);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue