Fixed: Delay when logging in

--HG--
branch : develop
This commit is contained in:
kervala 2016-05-18 09:52:48 +02:00
parent fc6d3eb075
commit 87ce45dcb1

View file

@ -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())