Update base

This commit is contained in:
XMRig 2020-11-29 18:45:52 +07:00
parent bbcf8e2be3
commit 096b09bf4d
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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()) });