From d0b727f6dc7131ea5c478bcfdff3b0408f2b26f3 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 17 Jul 2010 03:23:56 +0000 Subject: 2010-07-17 Tatsuhiro Tsujikawa 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 --- src/CreateRequestCommand.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/CreateRequestCommand.cc') 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(), SharedHandle(), requestGroup, e) + (cuid, SharedHandle(), SharedHandle(), requestGroup, e, + SharedHandle(), false) { setStatus(Command::STATUS_ONESHOT_REALTIME); disableReadCheckSocket(); -- cgit