This commit is contained in:
Artur 2021-08-25 16:56:19 +00:00
parent bc5b6af8fa
commit 239b198a12

View File

@ -48,6 +48,8 @@ ZlibInflatingReadBuffer::~ZlibInflatingReadBuffer()
bool ZlibInflatingReadBuffer::nextImpl()
{
do
{
if (eof)
return false;
@ -82,6 +84,8 @@ bool ZlibInflatingReadBuffer::nextImpl()
}
if (rc != Z_OK)
throw Exception(std::string("inflate failed: ") + zError(rc), ErrorCodes::ZLIB_INFLATE_FAILED);
}
while (working_buffer.empty());
return true;
}