summaryrefslogtreecommitdiff
path: root/src/AbstractCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-09-15 12:22:31 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-09-15 12:22:31 +0000
commit1d2080361dc7d08e890d1e33e5a9ad3ff93f1d94 (patch)
tree0e881414e53c7c290a0d3e494f3aadff6608a13e /src/AbstractCommand.cc
parent2c3411f709e62eefb9085f8dd7aa2f0d38d6a28a (diff)
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
Diffstat (limited to 'src/AbstractCommand.cc')
-rw-r--r--src/AbstractCommand.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc
index 616e4612..e7fed27a 100644
--- a/src/AbstractCommand.cc
+++ b/src/AbstractCommand.cc
@@ -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_);
}