|
@@ -130,7 +130,6 @@ RequestGroup::RequestGroup(const SharedHandle<Option>& option,
|
|
|
_lastModifiedTime(Time::null()),
|
|
|
_fileNotFoundCount(0),
|
|
|
_timeout(option->getAsInt(PREF_TIMEOUT)),
|
|
|
- _maxTries(option->getAsInt(PREF_MAX_TRIES)),
|
|
|
_inMemoryDownload(false),
|
|
|
_maxDownloadSpeedLimit(option->getAsInt(PREF_MAX_DOWNLOAD_LIMIT)),
|
|
|
_maxUploadSpeedLimit(option->getAsInt(PREF_MAX_UPLOAD_LIMIT)),
|
|
@@ -1214,11 +1213,6 @@ void RequestGroup::setTimeout(time_t timeout)
|
|
|
_timeout = timeout;
|
|
|
}
|
|
|
|
|
|
-void RequestGroup::setMaxTries(unsigned int maxTries)
|
|
|
-{
|
|
|
- _maxTries = maxTries;
|
|
|
-}
|
|
|
-
|
|
|
bool RequestGroup::doesDownloadSpeedExceed()
|
|
|
{
|
|
|
return _maxDownloadSpeedLimit > 0 &&
|