mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
parent
298e4ba852
commit
75c638e2f8
1 changed files with 2 additions and 0 deletions
|
@ -299,6 +299,8 @@ void Net::DownloadManager::processRequest(DownloadHandlerImpl *downloadHandler)
|
|||
// Qt doesn't support Magnet protocol so we need to handle redirections manually
|
||||
request.setAttribute(QNetworkRequest::RedirectPolicyAttribute, QNetworkRequest::ManualRedirectPolicy);
|
||||
|
||||
request.setTransferTimeout();
|
||||
|
||||
QNetworkReply *reply = m_networkManager->get(request);
|
||||
connect(reply, &QNetworkReply::finished, this, [this, downloadHandler]
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue