Repository navigation
v5.2.8
Bug fixes:
set_multianddelete_multion more than one server retried forever, hanging the caller, when a server accepted their writes and then closed the connection before replying. Each quiet write reset the server's failure count, so it never reachedsocket_max_failures. Only a request whose reply is read resets it now, and the server is marked down andDalli::NetworkErrorraised, as forget- 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)