Take into account timeout

pull/693/head
Tatsuhiro Tsujikawa 2016-06-21 23:30:39 +09:00
parent 10b64e281a
commit e8fcedf092
1 changed files with 1 additions and 1 deletions

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