[compress] zlib flush option #713

Closed
jonathanong opened this Issue Dec 20, 2012 · 3 comments

Projects

None yet

2 participants

@jonathanong
Contributor

I'd like to be able to set the flush type: http://nodejs.org/api/zlib.html#zlib_constants
ie stream._flush = zlib.Z_SYNC_FLUSH

Is there a reason this option is not supported? Or is a pull request welcomed?

@tj
Member
tj commented Dec 31, 2012

you should be able to pass these straight to compress({ options }), stream._flush would be private

@tj
Member
tj commented Dec 31, 2012

if not re-open

@tj tj closed this Dec 31, 2012
@jonathanong
Contributor

you can't pass flush values through options. since stream._flush is considered private it's up to you whether you'd want to support this at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment