diff options
Diffstat (limited to 'src/AbstractProxyResponseCommand.cc')
| -rw-r--r-- | src/AbstractProxyResponseCommand.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/AbstractProxyResponseCommand.cc b/src/AbstractProxyResponseCommand.cc index e0e5b16a..3806507c 100644 --- a/src/AbstractProxyResponseCommand.cc +++ b/src/AbstractProxyResponseCommand.cc @@ -62,21 +62,21 @@ AbstractProxyResponseCommand::AbstractProxyResponseCommand DownloadEngine* e, const SocketHandle& s) :AbstractCommand(cuid, req, fileEntry, requestGroup, e, s), - httpConnection(httpConnection) {} + _httpConnection(httpConnection) {} AbstractProxyResponseCommand::~AbstractProxyResponseCommand() {} bool AbstractProxyResponseCommand::executeInternal() { - SharedHandle<HttpResponse> httpResponse = httpConnection->receiveResponse(); + SharedHandle<HttpResponse> httpResponse = _httpConnection->receiveResponse(); if(httpResponse.isNull()) { // the server has not responded our request yet. - e->addCommand(this); + getDownloadEngine()->addCommand(this); return false; } if(httpResponse->getResponseStatus() != HttpHeader::S200) { throw DL_RETRY_EX(EX_PROXY_CONNECTION_FAILED); } - e->addCommand(getNextCommand()); + getDownloadEngine()->addCommand(getNextCommand()); return true; } |
