mirror of https://github.com/aria2/aria2
Merge 423d51c2fe
into d372b788ec
commit
0f6e4e1ed8
|
@ -306,7 +306,7 @@ void DownloadCommand::checkLowestDownloadSpeed() const
|
||||||
startupIdleTime_) {
|
startupIdleTime_) {
|
||||||
int nowSpeed = peerStat_->calculateDownloadSpeed();
|
int nowSpeed = peerStat_->calculateDownloadSpeed();
|
||||||
if (nowSpeed <= lowestDownloadSpeedLimit_) {
|
if (nowSpeed <= lowestDownloadSpeedLimit_) {
|
||||||
throw DL_ABORT_EX2(fmt(EX_TOO_SLOW_DOWNLOAD_SPEED, nowSpeed,
|
throw DL_RETRY_EX2(fmt(EX_TOO_SLOW_DOWNLOAD_SPEED, nowSpeed,
|
||||||
lowestDownloadSpeedLimit_,
|
lowestDownloadSpeedLimit_,
|
||||||
getRequest()->getHost().c_str()),
|
getRequest()->getHost().c_str()),
|
||||||
error_code::TOO_SLOW_DOWNLOAD_SPEED);
|
error_code::TOO_SLOW_DOWNLOAD_SPEED);
|
||||||
|
|
Loading…
Reference in New Issue