[erlang-questions] zlib design flaw?

Сергей Прохоров seriy.pr@REDACTED
Wed Sep 24 15:17:12 CEST 2014


I've discussed exactly the same issue in #Erlang IRC ~year ago.

So, we discovered, that zlib C API allows to limit decompressed data size
(by storing some internal state and data in zlib internals), but this
option isn't exported in Erlang API.

The ad-hoc solution suggested was "decompress your data by smaller chunks".

And, yes, I think that this option should be exported to Erlang's zlib.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140924/90acdb3a/attachment.htm>


More information about the erlang-questions mailing list