Update HTTP
This commit is contained in:
parent
63bd45c397
commit
86795aa5b7
11 changed files with 65 additions and 79 deletions
|
@ -330,7 +330,7 @@ int64_t xmrig::DaemonClient::getBlockTemplate()
|
|||
int64_t xmrig::DaemonClient::rpcSend(const rapidjson::Document &doc)
|
||||
{
|
||||
FetchRequest req(HTTP_POST, m_pool.host(), m_pool.port(), kJsonRPC, doc, m_pool.isTLS(), isQuiet());
|
||||
fetch(std::move(req), m_httpListener);
|
||||
fetch(tag(), std::move(req), m_httpListener);
|
||||
|
||||
return m_sequence++;
|
||||
}
|
||||
|
@ -357,7 +357,7 @@ void xmrig::DaemonClient::retry()
|
|||
void xmrig::DaemonClient::send(const char *path)
|
||||
{
|
||||
FetchRequest req(HTTP_GET, m_pool.host(), m_pool.port(), path, m_pool.isTLS(), isQuiet());
|
||||
fetch(std::move(req), m_httpListener);
|
||||
fetch(tag(), std::move(req), m_httpListener);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue