1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 20:34:39 +01:00

Cleaned up NetworkAccessManager behavior from previous commit for

Subsonic, to facilitate SSLv3 usage.
This commit is contained in:
Ross Wolfson 2013-05-29 21:57:45 -04:00 committed by Ross
parent 7e32cfc358
commit 40d35faa00

View File

@ -164,7 +164,7 @@ bool SubsonicService::IsConfigured() const {
void SubsonicService::Login() {
// Recreate fresh network state, otherwise old HTTPS settings seem to get reused
// This might leave stale idle connections around in background, but this shouldn't get called regularly
network_->deleteLater();
network_ = new QNetworkAccessManager(this);
network_->setCookieJar(new QNetworkCookieJar(network_));
// Forget login state whilst waiting