mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: Delay when logging in
This commit is contained in:
parent
44c6dab045
commit
a9bafa02bd
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