summaryrefslogtreecommitdiff
path: root/src/AbstractCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-03 12:29:04 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-09-03 12:29:04 +0000
commit18581f4a73617b188fe2b93f0fe8ffc4fe4c685b (patch)
treef020e8cf4c55146c3956fea0597b7e111e99493f /src/AbstractCommand.cc
parent7ff9ab377b5ce286c1feb0436452540b959a49c1 (diff)
2008-09-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Merged from trunk -r693:695 DEFAULT_ANNOUNCE_INTERVAL: unsigned int -> time_t * src/BtAnnounce.h If an error occurred with a URI, remove identical URI from remaining URI list because it is likely that same error occurred in the end and it is waste of time. * src/AbstractCommand.cc * src/RequestGroup.cc * src/RequestGroup.h
Diffstat (limited to 'src/AbstractCommand.cc')
-rw-r--r--src/AbstractCommand.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AbstractCommand.cc b/src/AbstractCommand.cc
index eb2f2aee..001b3556 100644
--- a/src/AbstractCommand.cc
+++ b/src/AbstractCommand.cc
@@ -201,6 +201,7 @@ void AbstractCommand::onAbort() {
if(!_requestGroup->getPieceStorage().isNull()) {
_requestGroup->getSegmentMan()->cancelSegment(cuid);
}
+ _requestGroup->removeIdenticalURI(req->getUrl());
}
void AbstractCommand::disableReadCheckSocket() {