[erlang-bugs] [zlib] default values to deflateInit

Michal Struś <>
Wed Oct 23 12:31:15 CEST 2013

Hello everyone,
when I use:
"zlib:deflateInit(Zstream, Level, deflated, 31, 8, default)"
everything seems to be fine, but
"zlib:deflateInit(Zstream, Level)"
so the above with the same default values is not working for me.
Is it some kind of bug?

Second thing:
can I open Zstream then compress chunks of data in a loop or I HAVE to 
open zstream, deflateInit, deflate, deflateEnd and close zstream - 
everything in one loop? because the first option is also not working for 
me... but maybe it's irrelevant from optimization point of view?

I'm using Erlang R15B (erts-5.9).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2185 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20131023/8e926ffd/attachment.bin>

More information about the erlang-bugs mailing list