Take into account timeout

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-21 23:30:39 +09:00
parent 10b64e281a
commit e8fcedf092

View File

@ -421,6 +421,6 @@ void DownloadCommand::installStreamFilter(
// We need to override noCheck() to return true in order to measure
// download speed to check lowest speed.
bool DownloadCommand::noCheck() const { return true; }
bool DownloadCommand::noCheck() const { return lowestDownloadSpeedLimit_ > 0; }
} // namespace aria2