Update HTTP

This commit is contained in:
XMRig
2020-12-03 10:48:57 +07:00
parent c8ebffd012
commit 1084cd9481
11 changed files with 65 additions and 79 deletions

View File

@@ -154,7 +154,7 @@ void xmrig::SelfSelectClient::getBlockTemplate()
JsonRequest::create(doc, m_sequence++, "getblocktemplate", params);
FetchRequest req(HTTP_POST, pool().daemon().host(), pool().daemon().port(), "/json_rpc", doc, pool().daemon().isTLS(), isQuiet());
fetch(std::move(req), m_httpListener);
fetch(tag(), std::move(req), m_httpListener);
}