diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-05-21 13:54:50 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-05-21 13:54:50 +0000 |
| commit | 92f84f71f575fe4548f4a43575fbf49ce7d50d26 (patch) | |
| tree | 12148ce1e8515acff763602aa0b99f89172bdf33 /src/HttpSkipResponseCommand.cc | |
| parent | 47adbe618c85b437220588fa1f7d602e113f7875 (diff) | |
2010-05-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that connection pooling does not take into account
proxy. This means that when connection A via proxy X is pooled,
it will be wrongly reused in the download using proxy Y.
* src/DownloadEngine.cc
* src/DownloadEngine.h
* src/FtpFinishDownloadCommand.cc
* src/FtpInitiateConnectionCommand.cc
* src/FtpNegotiationCommand.cc
* src/HttpDownloadCommand.cc
* src/HttpInitiateConnectionCommand.cc
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
Diffstat (limited to 'src/HttpSkipResponseCommand.cc')
| -rw-r--r-- | src/HttpSkipResponseCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc index 24963d05..3e4e286e 100644 --- a/src/HttpSkipResponseCommand.cc +++ b/src/HttpSkipResponseCommand.cc @@ -145,7 +145,7 @@ bool HttpSkipResponseCommand::executeInternal() void HttpSkipResponseCommand::poolConnection() const { if(req->supportsPersistentConnection()) { - e->poolSocket(req, isProxyDefined(), socket); + e->poolSocket(req, createProxyRequest(), socket); } } |
