mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Fix sequential downloading when redirected
This commit is contained in:
@@ -245,7 +245,7 @@ void Net::DownloadManager::applyProxySettings()
|
|||||||
|
|
||||||
void Net::DownloadManager::handleReplyFinished(QNetworkReply *reply)
|
void Net::DownloadManager::handleReplyFinished(QNetworkReply *reply)
|
||||||
{
|
{
|
||||||
const ServiceID id = ServiceID::fromURL(reply->url());
|
const ServiceID id = ServiceID::fromURL(reply->request().url());
|
||||||
auto waitingJobsIter = m_waitingJobs.find(id);
|
auto waitingJobsIter = m_waitingJobs.find(id);
|
||||||
if ((waitingJobsIter == m_waitingJobs.end()) || waitingJobsIter.value().isEmpty()) {
|
if ((waitingJobsIter == m_waitingJobs.end()) || waitingJobsIter.value().isEmpty()) {
|
||||||
m_busyServices.remove(id);
|
m_busyServices.remove(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user