add support for concatenated gzip in ZlibInputStream
This commit is contained in:
parent
d387e6a286
commit
68fdde7d4a
@ -255,6 +255,9 @@ Status ZlibInputStream::Inflate() {
|
||||
}
|
||||
return errors::DataLoss(error_string);
|
||||
}
|
||||
if (error == Z_STREAM_END && zlib_options_.window_bits == MAX_WBITS + 16) {
|
||||
inflateReset(z_stream_def_->stream.get());
|
||||
}
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user