summaryrefslogtreecommitdiff
path: root/src/HttpProxyRequestConnectChain.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-26 17:12:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-26 17:20:27 +0900
commitd64089632e82a2548752c7a6baaa68365a795a74 (patch)
tree57fc7b85a8c1290975d58fa4761b04a7695bf7e3 /src/HttpProxyRequestConnectChain.h
parentc81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff)
parenta7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff)
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/HttpProxyRequestConnectChain.h')
-rw-r--r--src/HttpProxyRequestConnectChain.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/HttpProxyRequestConnectChain.h b/src/HttpProxyRequestConnectChain.h
index db533374..d00caba6 100644
--- a/src/HttpProxyRequestConnectChain.h
+++ b/src/HttpProxyRequestConnectChain.h
@@ -47,14 +47,9 @@ struct HttpProxyRequestConnectChain : public ControlChain<ConnectCommand*> {
virtual ~HttpProxyRequestConnectChain() {}
virtual int run(ConnectCommand* t, DownloadEngine* e) CXX11_OVERRIDE
{
- auto c = make_unique<HttpProxyRequestCommand>
- (t->getCuid(),
- t->getRequest(),
- t->getFileEntry(),
- t->getRequestGroup(),
- e,
- t->getProxyRequest(),
- t->getSocket());
+ auto c = make_unique<HttpProxyRequestCommand>(
+ t->getCuid(), t->getRequest(), t->getFileEntry(), t->getRequestGroup(),
+ e, t->getProxyRequest(), t->getSocket());
c->setStatus(Command::STATUS_ONESHOT_REALTIME);
e->setNoWait(true);
e->addCommand(std::move(c));