summaryrefslogtreecommitdiff
path: root/src/HttpResponseCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-28 10:48:26 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-06-28 10:48:26 +0000
commitd2afc0ca8ec0b6e8efb767cc917fdb3677f4b070 (patch)
treec678bbe38ea516d46e4bcee90fbbdd11e8650cdf /src/HttpResponseCommand.cc
parent5699b675268658ea958f7c2306e19849dff9bc41 (diff)
2009-06-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed _currentRequest from StreamCheckIntegrityEntry and StreamFileAllocationEntry. * src/AbstractCommand.cc * src/HttpResponseCommand.cc * src/RequestGroup.cc * src/StreamCheckIntegrityEntry.cc * src/StreamCheckIntegrityEntry.h * src/StreamFileAllocationEntry.cc * src/StreamFileAllocationEntry.h
Diffstat (limited to 'src/HttpResponseCommand.cc')
-rw-r--r--src/HttpResponseCommand.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc
index ece2606a..9dbf9ffe 100644
--- a/src/HttpResponseCommand.cc
+++ b/src/HttpResponseCommand.cc
@@ -122,12 +122,12 @@ bool HttpResponseCommand::executeInternal()
return skipResponseBody(httpResponse);
}
if(!_requestGroup->isSingleHostMultiConnectionEnabled()) {
- // Query by hostname. Searching by CUID may returns NULL.
- // In case when resuming download, ServerHost is registered with CUID A.
+ // Query by hostname. Searching by CUID may returns NULL. In case
+ // when resuming download, ServerHost is registered with CUID A.
// Then if requested range is not equal to saved one,
- // StreamFileAllocationEntry is created with _nextCommand NULL and
- // _currentRequest not NULL. This results creating new command CUID, say
- // B and same URI. So searching ServerHost by CUID B fails.
+ // StreamFileAllocationEntry is created with _nextCommand NULL.
+ // This results creating new command CUID, say B and same URI. So
+ // searching ServerHost by CUID B fails.
SharedHandle<ServerHost> sv =
_requestGroup->searchServerHost(req->getHost());
if(!sv.isNull()) {