summaryrefslogtreecommitdiff
path: root/src/HttpSkipResponseCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-10-03 17:59:39 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-10-03 17:59:39 +0900
commitc81b1321122e8509b55c94c0cbca0d8d6d319f0c (patch)
treef24b49dd9cceb006172dbd09da4e5f5d3371241b /src/HttpSkipResponseCommand.cc
parentc63fc414c389c893c80022669a7d75f3c6869c7e (diff)
parent85faafcaf233855042aead1cc522375fa7955d7e (diff)
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/HttpSkipResponseCommand.cc')
-rw-r--r--src/HttpSkipResponseCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc
index ef5d3d76..d2149c1f 100644
--- a/src/HttpSkipResponseCommand.cc
+++ b/src/HttpSkipResponseCommand.cc
@@ -138,7 +138,7 @@ bool HttpSkipResponseCommand::executeInternal()
getSocketRecvBuffer()->getBufferLength());
bufSize = streamFilter_->getBytesProcessed();
}
- getSocketRecvBuffer()->shiftBuffer(bufSize);
+ getSocketRecvBuffer()->drain(bufSize);
}
if(totalLength_ != 0 && eof) {
throw DL_RETRY_EX(EX_GOT_EOF);