diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-04-01 23:51:33 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-04-01 23:51:33 +0900 |
| commit | 26972b85359a4ab1f00545c9082a6c1b7d5a2593 (patch) | |
| tree | 37c4d9c264e6281424137af235d0cef74b448bdb /src/HttpProxyRequestCommand.cc | |
| parent | cf23e3e11dfc7abfd4b95c5ce200404113cbe8e8 (diff) | |
Rewrite backup connection handling
Now dedicated ConnectCommand handles connection establishment. It
checks whether connection is established or not. It also handles
backup connection. The next Command creation is abstracted using
ControlChain struct template.
Diffstat (limited to 'src/HttpProxyRequestCommand.cc')
| -rw-r--r-- | src/HttpProxyRequestCommand.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/HttpProxyRequestCommand.cc b/src/HttpProxyRequestCommand.cc index 9be2a230..410345ce 100644 --- a/src/HttpProxyRequestCommand.cc +++ b/src/HttpProxyRequestCommand.cc @@ -62,16 +62,4 @@ Command* HttpProxyRequestCommand::getNextCommand() getHttpConnection(), getDownloadEngine(), getSocket()); } -Command* HttpProxyRequestCommand::createSelf -(const SharedHandle<SocketCore>& socket) -{ - return new HttpProxyRequestCommand(getCuid(), - getRequest(), - getFileEntry(), - getRequestGroup(), - getDownloadEngine(), - getProxyRequest(), - socket); -} - } // namespace aria2 |
