[erlang-questions] zlib deflate problem

Matthew Dempsky <>
Wed May 21 18:14:08 CEST 2008

On Wed, May 21, 2008 at 9:06 AM, Matthew Dempsky <> wrote:
> (However, it now seems suspicious to me now that the flush argument to
> zlib_inflate() is unused.)

Actually, this seems fine since the zlib module interface doesn't give
any control over the flush argument.  However, it might be misleading
that zlib:inflate/2 passed Z_NO_FLUSH to the zlib driver, which
unpacks it and passes it to zlib_inflate, but then zlib_inflate uses

More information about the erlang-questions mailing list