mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 07:36:16 +00:00
Fixed: Delay when logging in
--HG-- branch : develop
This commit is contained in:
parent
fc6d3eb075
commit
87ce45dcb1
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