summaryrefslogtreecommitdiff
path: root/src/HttpInitiateConnectionCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-07-02 15:18:13 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2009-07-02 15:18:13 +0000
commit01fdb2aaeb4dcb351931c14ca63d9347f0adc529 (patch)
tree94f6e4a327c77b358316d5790224d9cccee8e3c1 /src/HttpInitiateConnectionCommand.h
parent8796993c71c8a326c2f261c01db5066cfc3b2848 (diff)
2009-07-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Try all available addresses returned by DNS until it gets connected in HTTP(S)/FTP download * src/AbstractCommand.cc * src/AbstractCommand.h * src/AbstractProxyRequestCommand.cc * src/AbstractProxyRequestCommand.h * src/DNSCache.h * src/DownloadEngine.cc * src/DownloadEngine.h * src/FtpInitiateConnectionCommand.cc * src/FtpInitiateConnectionCommand.h * src/FtpNegotiationCommand.cc * src/FtpNegotiationCommand.h * src/HttpInitiateConnectionCommand.cc * src/HttpInitiateConnectionCommand.h * src/HttpRequestCommand.cc * src/HttpRequestCommand.h * src/InitiateConnectionCommand.cc * src/InitiateConnectionCommand.h * test/DNSCacheTest.cc * test/Makefile.am * test/SimpleDNSCacheTest.cc
Diffstat (limited to 'src/HttpInitiateConnectionCommand.h')
-rw-r--r--src/HttpInitiateConnectionCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HttpInitiateConnectionCommand.h b/src/HttpInitiateConnectionCommand.h
index 54f76523..c50ed564 100644
--- a/src/HttpInitiateConnectionCommand.h
+++ b/src/HttpInitiateConnectionCommand.h
@@ -42,7 +42,8 @@ namespace aria2 {
class HttpInitiateConnectionCommand : public InitiateConnectionCommand {
protected:
virtual Command* createNextCommand
- (const std::deque<std::string>& resolvedAddresses,
+ (const std::string& hostname, const std::string& addr, uint16_t port,
+ const std::deque<std::string>& resolvedAddresses,
const SharedHandle<Request>& proxyRequest);
public:
HttpInitiateConnectionCommand(int cuid, const SharedHandle<Request>& req,