[mythtv-commits] mythtv/fixes/0.24 commit: 8921ded85 by Chris Pinkham (cpinkham)
MythTV
noreply at mythtv.org
Sun Jan 30 05:25:30 UTC 2011
Author: Chris Pinkham <cpinkham at mythtv.org>
Change Date: 2011-01-29T21:25:19-08:00
Push Date: 2011/01/29 21:25:28 -0800
Repository: mythtv
Branch: fixes/0.24
New Revision: 8921ded85a092988be40913750530744bbd8aa34
Changeset: https://github.com/MythTV/mythtv/commit/8921ded85
Log:
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.
(cherry picked from commit 156e8ba70542a99abd0cea6ab0e39232c86e2e7d)
Modified:
mythtv/libs/libmythdb/mythdownloadmanager.cpp
More information about the mythtv-commits
mailing list