summaryrefslogtreecommitdiff
path: root/src/CreateRequestCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-07-17 03:23:56 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-07-17 03:23:56 +0000
commitd0b727f6dc7131ea5c478bcfdff3b0408f2b26f3 (patch)
treef501ae4dfa91fd00a28076c762dc67d4dea6cb17 /src/CreateRequestCommand.cc
parent036abeee1182ccac0c80351d7d7dd3cbac7ae3ac (diff)
2010-07-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Count the number of command used in HTTP(S)/FTP and the number of connections in HTTP(S)/FTP independently. The former is used to determin whether additional command is needed. The latter is used to report user to how many connections are used in a download. * src/AbstractCommand.cc * src/AbstractCommand.h * src/CreateRequestCommand.cc * src/RequestGroup.cc * src/RequestGroup.h
Diffstat (limited to 'src/CreateRequestCommand.cc')
-rw-r--r--src/CreateRequestCommand.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CreateRequestCommand.cc b/src/CreateRequestCommand.cc
index cc62fef4..62783d9b 100644
--- a/src/CreateRequestCommand.cc
+++ b/src/CreateRequestCommand.cc
@@ -57,7 +57,8 @@ CreateRequestCommand::CreateRequestCommand(cuid_t cuid,
RequestGroup* requestGroup,
DownloadEngine* e):
AbstractCommand
- (cuid, SharedHandle<Request>(), SharedHandle<FileEntry>(), requestGroup, e)
+ (cuid, SharedHandle<Request>(), SharedHandle<FileEntry>(), requestGroup, e,
+ SharedHandle<SocketCore>(), false)
{
setStatus(Command::STATUS_ONESHOT_REALTIME);
disableReadCheckSocket();