diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-10-03 17:59:39 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-10-03 17:59:39 +0900 |
| commit | c81b1321122e8509b55c94c0cbca0d8d6d319f0c (patch) | |
| tree | f24b49dd9cceb006172dbd09da4e5f5d3371241b /src/HttpSkipResponseCommand.cc | |
| parent | c63fc414c389c893c80022669a7d75f3c6869c7e (diff) | |
| parent | 85faafcaf233855042aead1cc522375fa7955d7e (diff) | |
Merge branch 'master' into random-webseeding
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 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); |
