Fix for reconnection issues in invoke_request in case the hostname is

empty.
This commit is contained in:
Erik Kimmo 2014-04-21 15:18:13 +04:00
parent 8d91aac912
commit 905a91a656

View file

@ -856,7 +856,7 @@ using namespace std;
http::url_content 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);