diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-04-01 00:12:27 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-04-01 00:12:27 +0900 |
| commit | 597e1a5c1b10aa3668f91bcae02a864dcd0c045b (patch) | |
| tree | 4437c2896b410b441013452b7385dfa303441772 /src/HttpProxyRequestCommand.cc | |
| parent | d671d8bf3672cbefc06f3727f82b77872abe6120 (diff) | |
Implement simple Happy Eyeballs for HTTP/FTP downloads
Diffstat (limited to 'src/HttpProxyRequestCommand.cc')
| -rw-r--r-- | src/HttpProxyRequestCommand.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/HttpProxyRequestCommand.cc b/src/HttpProxyRequestCommand.cc index 410345ce..9be2a230 100644 --- a/src/HttpProxyRequestCommand.cc +++ b/src/HttpProxyRequestCommand.cc @@ -62,4 +62,16 @@ 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 |
