summaryrefslogtreecommitdiff
path: root/src/HttpProxyRequestCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpProxyRequestCommand.cc')
-rw-r--r--src/HttpProxyRequestCommand.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/HttpProxyRequestCommand.cc b/src/HttpProxyRequestCommand.cc
index 04e534ee..f55fcc34 100644
--- a/src/HttpProxyRequestCommand.cc
+++ b/src/HttpProxyRequestCommand.cc
@@ -43,18 +43,22 @@ namespace aria2 {
HttpProxyRequestCommand::HttpProxyRequestCommand
(int cuid,
const RequestHandle& req,
+ const SharedHandle<FileEntry>& fileEntry,
RequestGroup* requestGroup,
DownloadEngine* e,
const SharedHandle<Request>& proxyRequest,
const SocketHandle& s)
:
- AbstractProxyRequestCommand(cuid, req, requestGroup, e, proxyRequest, s) {}
+ AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e,
+ proxyRequest, s)
+{}
HttpProxyRequestCommand::~HttpProxyRequestCommand() {}
Command* HttpProxyRequestCommand::getNextCommand()
{
- return new HttpProxyResponseCommand(cuid, req, _requestGroup, httpConnection, e, socket);
+ return new HttpProxyResponseCommand
+ (cuid, req, _fileEntry, _requestGroup, httpConnection, e, socket);
}
} // namespace aria2