Don't throw exception if Z_BUF_ERROR is encountered in

GZipDecodingFilter.
pull/1/head
Tatsuhiro Tsujikawa 2011-05-30 23:10:06 +09:00
parent 34207cda01
commit 74a049ddfc
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ ssize_t GZipDecodingStreamFilter::transform
if(ret == Z_STREAM_END) {
finished_ = true;
} else if(ret != Z_OK) {
} else if(ret != Z_OK && ret != Z_BUF_ERROR) {
throw DL_ABORT_EX(fmt("libz::inflate() failed. cause:%s",
strm_->msg));
}