Commit 16ea5ddb authored by Urs Fleisch's avatar Urs Fleisch
Browse files

do not close connection after download

parent 645ce610
......@@ -165,11 +165,8 @@ void HttpClient::sendRequest(const QString& server, const QString& path)
password = Kid3App::s_miscCfg.m_proxyPassword;
}
m_http->setProxy(proxy, proxyPort, username, password);
QHttpRequestHeader header("GET", path);
header.setValue("User-Agent", "Kid3/" VERSION);
header.setValue("Host", dest);
header.setValue("Connection", "close");
m_http->request(header);
m_http->setHost(dest, destPort);
m_http->get(path);
}
void HttpClient::slotHostFound() {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment