[mythtv-commits] mythtv/master commit: 156e8ba70 by Chris Pinkham (cpinkham)

MythTV noreply at mythtv.org
Sun Jan 30 05:23:21 UTC 2011


      Author:  Chris Pinkham <cpinkham at mythtv.org>
 Change Date:  2011-01-29T21:13:36-08:00
   Push Date:  2011/01/29 21:23:19 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  156e8ba70542a99abd0cea6ab0e39232c86e2e7d
   Changeset:  https://github.com/MythTV/mythtv/commit/156e8ba70

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.

Modified:

   mythtv/libs/libmythbase/mythdownloadmanager.cpp



More information about the mythtv-commits mailing list