diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-11-03 10:06:25 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-11-03 10:06:25 +0000 |
| commit | 8fab0ff2160399487fb0010d3b0c8b431dfe545f (patch) | |
| tree | dd0e1fbe1b28176773dccc0fd71bbed77fdf89fb /src/AbstractProxyRequestCommand.cc | |
| parent | e6707208d1821d043b8d2b01551b5424a0768cd8 (diff) | |
2008-11-03 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
AuthConfigFactory is now part of DownloadEngine.
* src/AbstractProxyRequestCommand.cc
* src/AuthConfigFactory.h
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/FtpConnection.cc
* src/FtpConnection.h
* src/FtpNegotiationCommand.cc
* src/HttpConnection.cc
* src/HttpRequest.cc
* src/HttpRequest.h
* src/HttpRequestCommand.cc
* src/HttpResponse.cc
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/MultiUrlRequestInfo.cc
* src/main.cc
* test/FtpConnectionTest.cc
* test/HttpRequestTest.cc
* test/HttpResponseTest.cc
Diffstat (limited to 'src/AbstractProxyRequestCommand.cc')
| -rw-r--r-- | src/AbstractProxyRequestCommand.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/AbstractProxyRequestCommand.cc b/src/AbstractProxyRequestCommand.cc index c9da63be..8ade62ea 100644 --- a/src/AbstractProxyRequestCommand.cc +++ b/src/AbstractProxyRequestCommand.cc @@ -43,6 +43,7 @@ #include "prefs.h" #include "Socket.h" #include "CookieStorage.h" +#include "AuthConfigFactory.h" namespace aria2 { @@ -67,8 +68,10 @@ bool AbstractProxyRequestCommand::executeInternal() { HttpRequestHandle httpRequest(new HttpRequest()); httpRequest->setUserAgent(e->option->get(PREF_USER_AGENT)); httpRequest->setRequest(req); + httpRequest->setAuthConfigFactory(e->getAuthConfigFactory()); + httpRequest->configure(e->option); - + httpConnection->sendProxyRequest(httpRequest); } else { httpConnection->sendPendingData(); |
