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
pull/1/head
Tatsuhiro Tsujikawa 2010-09-15 12:22:31 +00:00
parent 2c3411f709
commit 1d2080361d
2 changed files with 6 additions and 3 deletions

View File

@ -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.

View File

@ -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_);
}