mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-25 02:00:54 +00:00
Fixed: Delay when logging in
This commit is contained in:
parent
e0e2c3afac
commit
3e7011ca14
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ bool CHttpClient::sendRequest(const std::string& methodWB, const std::string &ur
|
||||||
std::string request;
|
std::string request;
|
||||||
request += methodWB + " " + path + " HTTP/1.1\r\n";
|
request += methodWB + " " + path + " HTTP/1.1\r\n";
|
||||||
request += "Host: " + host + "\r\n";
|
request += "Host: " + host + "\r\n";
|
||||||
|
request += "Connection: close\r\n";
|
||||||
|
|
||||||
// Send
|
// Send
|
||||||
if (cookieName.empty() && postParams.empty())
|
if (cookieName.empty() && postParams.empty())
|
||||||
|
|
Loading…
Reference in a new issue