diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc index dd35c49a..dde369bd 100644 --- a/src/HttpSkipResponseCommand.cc +++ b/src/HttpSkipResponseCommand.cc @@ -75,7 +75,7 @@ HttpSkipResponseCommand::HttpSkipResponseCommand : AbstractCommand(cuid, req, fileEntry, requestGroup, e, s, httpConnection->getSocketRecvBuffer()), sinkFilterOnly_(true), - totalLength_(httpResponse_->getEntityLength()), + totalLength_(httpResponse->getEntityLength()), receivedBytes_(0), httpConnection_(httpConnection), httpResponse_(std::move(httpResponse)),