summaryrefslogtreecommitdiff
path: root/src/HttpDownloadCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpDownloadCommand.h')
-rw-r--r--src/HttpDownloadCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/HttpDownloadCommand.h b/src/HttpDownloadCommand.h
index 88953831..0d0345b7 100644
--- a/src/HttpDownloadCommand.h
+++ b/src/HttpDownloadCommand.h
@@ -37,13 +37,19 @@
#include "DownloadCommand.h"
+class HttpConnection;
+extern typedef SharedHandle<HttpConnection> HttpConnectionHandle;
+
class HttpDownloadCommand : public DownloadCommand {
+private:
+ HttpConnectionHandle _httpConnection;
protected:
virtual bool prepareForNextSegment();
public:
HttpDownloadCommand(int cuid,
const RequestHandle req,
RequestGroup* requestGroup,
+ const HttpConnectionHandle& httpConnection,
DownloadEngine* e,
const SocketHandle& s);
virtual ~HttpDownloadCommand();