diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-06-28 10:48:26 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-06-28 10:48:26 +0000 |
| commit | d2afc0ca8ec0b6e8efb767cc917fdb3677f4b070 (patch) | |
| tree | c678bbe38ea516d46e4bcee90fbbdd11e8650cdf /src/HttpResponseCommand.cc | |
| parent | 5699b675268658ea958f7c2306e19849dff9bc41 (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.cc | 10 |
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()) { |
