mirror of https://github.com/aria2/aria2
2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --retry-wait option since the current architecture doesn't allow sleep for particular URI. * src/AbstractCommand.cc * src/OptionHandlerFactory.cc * src/download_helper.cc * src/prefs.cc * src/prefs.hpull/1/head
parent
e8bda3f593
commit
fe2bb7e233
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Removed --retry-wait option since the current architecture doesn't
|
||||
allow sleep for particular URI.
|
||||
* src/AbstractCommand.cc
|
||||
* src/OptionHandlerFactory.cc
|
||||
* src/download_helper.cc
|
||||
* src/prefs.cc
|
||||
* src/prefs.h
|
||||
|
||||
2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Removed Retry-After header support. Since the current architecture
|
||||
|
|
|
@ -219,7 +219,7 @@ bool AbstractCommand::execute() {
|
|||
tryReserved();
|
||||
return true;
|
||||
} else {
|
||||
return prepareForRetry(getOption()->getAsInt(PREF_RETRY_WAIT));
|
||||
return prepareForRetry(0);
|
||||
}
|
||||
} catch(DownloadFailureException& err) {
|
||||
logger->error(EX_EXCEPTION_CAUGHT, err);
|
||||
|
|
|
@ -533,16 +533,6 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
|
|||
op->addTag(TAG_HTTP);
|
||||
handlers.push_back(op);
|
||||
}
|
||||
{
|
||||
SharedHandle<OptionHandler> op(new NumberOptionHandler
|
||||
(PREF_RETRY_WAIT,
|
||||
TEXT_RETRY_WAIT,
|
||||
"5",
|
||||
0, 60));
|
||||
op->addTag(TAG_FTP);
|
||||
op->addTag(TAG_HTTP);
|
||||
handlers.push_back(op);
|
||||
}
|
||||
{
|
||||
SharedHandle<OptionHandler> op(new BooleanOptionHandler
|
||||
(PREF_REUSE_URI,
|
||||
|
|
|
@ -83,7 +83,6 @@ const std::vector<std::string>& listRequestOptions()
|
|||
PREF_OUT,
|
||||
PREF_PROXY_METHOD,
|
||||
PREF_REMOTE_TIME,
|
||||
PREF_RETRY_WAIT,
|
||||
PREF_SPLIT,
|
||||
PREF_TIMEOUT,
|
||||
PREF_HTTP_AUTH_CHALLENGE,
|
||||
|
|
|
@ -48,8 +48,6 @@ const std::string V_ALL("all");
|
|||
* General preferences
|
||||
*/
|
||||
// values: 1*digit
|
||||
const std::string PREF_RETRY_WAIT("retry-wait");
|
||||
// values: 1*digit
|
||||
const std::string PREF_TIMEOUT("timeout");
|
||||
// values: 1*digit
|
||||
const std::string PREF_DNS_TIMEOUT("dns-timeout");
|
||||
|
|
|
@ -52,8 +52,6 @@ extern const std::string V_ALL;
|
|||
* General preferences
|
||||
*/
|
||||
// values: 1*digit
|
||||
extern const std::string PREF_RETRY_WAIT;
|
||||
// values: 1*digit
|
||||
extern const std::string PREF_TIMEOUT;
|
||||
// values: 1*digit
|
||||
extern const std::string PREF_DNS_TIMEOUT;
|
||||
|
|
Loading…
Reference in New Issue