Update base
This commit is contained in:
parent
bbcf8e2be3
commit
096b09bf4d
23 changed files with 124 additions and 187 deletions
|
@ -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()) });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue