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/InitiateConnectionCommand.h | |
| parent | d671d8bf3672cbefc06f3727f82b77872abe6120 (diff) | |
Implement simple Happy Eyeballs for HTTP/FTP downloads
Diffstat (limited to 'src/InitiateConnectionCommand.h')
| -rw-r--r-- | src/InitiateConnectionCommand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/InitiateConnectionCommand.h b/src/InitiateConnectionCommand.h index 7b52b353..374de527 100644 --- a/src/InitiateConnectionCommand.h +++ b/src/InitiateConnectionCommand.h @@ -39,6 +39,8 @@ namespace aria2 { +class BackupConnectInfo; + class InitiateConnectionCommand : public AbstractCommand { protected: /** @@ -64,6 +66,10 @@ protected: (const SharedHandle<Request>& req, const std::string& hostname, const SharedHandle<SocketCore>& socket); + + SharedHandle<BackupConnectInfo> createBackupIPv4ConnectCommand + (const std::string& hostname, const std::string& ipaddr, uint16_t port, + Command* mainCommand); public: InitiateConnectionCommand(cuid_t cuid, const SharedHandle<Request>& req, const SharedHandle<FileEntry>& fileEntry, |
