1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-13 09:07:04 +01:00

Disable http2 for musixmatch

This commit is contained in:
Jonas Kvinge 2020-12-20 06:51:36 +01:00
parent 1444a1578a
commit a5ab8ddf8b
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ bool MusixmatchCoverProvider::StartSearch(const QString &artist, const QString &
#else
req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
#endif
req.setAttribute(QNetworkRequest::Http2AllowedAttribute, false);
QNetworkReply *reply = network_->get(req);
replies_ << reply;
connect(reply, &QNetworkReply::finished, [=] { HandleSearchReply(reply, id, artist, album); });

View File

@ -80,6 +80,7 @@ bool MusixmatchLyricsProvider::StartSearch(const QString &artist, const QString
#else
req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
#endif
req.setAttribute(QNetworkRequest::Http2AllowedAttribute, false);
QNetworkReply *reply = network_->get(req);
replies_ << reply;
connect(reply, &QNetworkReply::finished, [=] { HandleSearchReply(reply, id, artist, album, title); });