summaryrefslogtreecommitdiff
path: root/src/HttpProxyRequestCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpProxyRequestCommand.cc')
-rw-r--r--src/HttpProxyRequestCommand.cc27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/HttpProxyRequestCommand.cc b/src/HttpProxyRequestCommand.cc
index f639ac70..b0e568a2 100644
--- a/src/HttpProxyRequestCommand.cc
+++ b/src/HttpProxyRequestCommand.cc
@@ -41,26 +41,23 @@
namespace aria2 {
-HttpProxyRequestCommand::HttpProxyRequestCommand
-(cuid_t cuid,
- const std::shared_ptr<Request>& req,
- const std::shared_ptr<FileEntry>& fileEntry,
- RequestGroup* requestGroup,
- DownloadEngine* e,
- const std::shared_ptr<Request>& proxyRequest,
- const std::shared_ptr<SocketCore>& s)
- :
- AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e,
- proxyRequest, s)
-{}
+HttpProxyRequestCommand::HttpProxyRequestCommand(
+ cuid_t cuid, const std::shared_ptr<Request>& req,
+ const std::shared_ptr<FileEntry>& fileEntry, RequestGroup* requestGroup,
+ DownloadEngine* e, const std::shared_ptr<Request>& proxyRequest,
+ const std::shared_ptr<SocketCore>& s)
+ : AbstractProxyRequestCommand(cuid, req, fileEntry, requestGroup, e,
+ proxyRequest, s)
+{
+}
HttpProxyRequestCommand::~HttpProxyRequestCommand() {}
std::unique_ptr<Command> HttpProxyRequestCommand::getNextCommand()
{
- return make_unique<HttpProxyResponseCommand>
- (getCuid(), getRequest(), getFileEntry(), getRequestGroup(),
- getHttpConnection(), getDownloadEngine(), getSocket());
+ return make_unique<HttpProxyResponseCommand>(
+ getCuid(), getRequest(), getFileEntry(), getRequestGroup(),
+ getHttpConnection(), getDownloadEngine(), getSocket());
}
} // namespace aria2