mirror of https://github.com/aria2/aria2
2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Don't set error in ServerStat just because resource is not there. We can still use the server for other resources. * src/AbstractCommand.ccpull/1/head
parent
2c3411f709
commit
1d2080361d
|
@ -1,3 +1,9 @@
|
|||
2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Don't set error in ServerStat just because resource is not
|
||||
there. We can still use the server for other resources.
|
||||
* src/AbstractCommand.cc
|
||||
|
||||
2010-09-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Disabled --dry-run in multi-file download for now.
|
||||
|
|
|
@ -392,9 +392,6 @@ bool AbstractCommand::prepareForRetry(time_t wait) {
|
|||
|
||||
void AbstractCommand::onAbort() {
|
||||
if(!req_.isNull()) {
|
||||
// TODO This might be a problem if the failure is caused by proxy.
|
||||
e_->getRequestGroupMan()->getOrCreateServerStat
|
||||
(req_->getHost(), req_->getProtocol())->setError();
|
||||
fileEntry_->removeIdenticalURI(req_->getUri());
|
||||
fileEntry_->removeRequest(req_);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue