Repository navigation
v5.3.2
Bug fixes:
- A signal arriving while
Dalli::CompressororDalli::GzipCompressorwas compressing or decompressing could make Ruby's zlib return before it had finished (ruby/zlib#49). Depending on the Ruby and zlib gem versions, that raisedZlib::BufErrororZlib::DataError, or stored a truncated value that later failed to decompress. Both compressors now keep finishing the stream until zlib reports its end.GzipCompressorno longer goes throughGzipWriterandGzipReader, so it now always returns decompressed values as binary strings, asCompressordoes (#1299)