1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-26 14:02:53 -05:00

Merge xmrig v6.6.2 into master

This commit is contained in:
MoneroOcean
2020-12-01 16:05:54 +00:00
29 changed files with 171 additions and 195 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()) });