On Sat, Aug 10, 2013 at 9:40 PM, Martin Cooper <[email protected]> wrote: > The zlib module is not working with gzip files, though, it's working with a > data buffer that could have come from anywhere. In that situation, in my > opinion, zlib shouldn't be (a) assuming it should keep going after one > compressed block (member), or (b) concatenating the decompressed output from > multiple blocks (members), given that there's no provision in the API for > calling the callback multiple times, once with the output of each block. > > Ben appears to have a different opinion, though, so I guess the API > semantics just changed, in my mind. :-) >
Well, it's mostly the Principle of Least Surprise: just about every gzip binding out there supports decompressing multiple chunks, therefore node.js probably should too. As to how it's going to be implemented, I'll cross that bridge when I get there. :-) -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
