1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-24 21:32:47 -05:00

Update base

This commit is contained in:
XMRig
2020-11-29 18:45:52 +07:00
parent bbcf8e2be3
commit 096b09bf4d
23 changed files with 124 additions and 187 deletions

View File

@@ -95,7 +95,7 @@ void xmrig::HttpClient::handshake()
{
headers.insert({ "Host", host() });
headers.insert({ "Connection", "close" });
headers.insert({ "User-Agent", Platform::userAgent() });
headers.insert({ "User-Agent", Platform::userAgent().data() });
if (!body.empty()) {
headers.insert({ "Content-Length", std::to_string(body.size()) });