Fixed a bug in gzip/deflate stream (fix #91)
This commit is contained in:
parent
52c3e6bb00
commit
987ed84d93
@ -266,7 +266,7 @@ namespace spades {
|
||||
while(bytes > 0){
|
||||
if(bufferPos >= buffer.size()){
|
||||
FillBuffer();
|
||||
if(reachedEOF)
|
||||
if(reachedEOF && bufferPos >= buffer.size())
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user