Fixed a bug in gzip/deflate stream (fix #91)

This commit is contained in:
yvt 2014-05-01 22:04:21 +09:00
parent 52c3e6bb00
commit 987ed84d93

View File

@ -266,7 +266,7 @@ namespace spades {
while(bytes > 0){
if(bufferPos >= buffer.size()){
FillBuffer();
if(reachedEOF)
if(reachedEOF && bufferPos >= buffer.size())
break;
}