Please sign in to comment.
Add a timeout for RemoteFile sync. downloads in MythDownloadManager
In MythDownloadManager::downloadNow(), add a 20 second timeout for RemoteFile downloads. This allows us to abort a synchronous RemoteFile download if the transfer hangs. RemoteFile does not send back progress updates, so we can't rely on m_lastStat being updated, so we base the timeout on the start time.
- Loading branch information...
Showing with 8 additions and 2 deletions.