Skip to content
This repository

[compress] zlib flush option #713

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

2 participants

Jonathan Ong TJ Holowaychuk
Jonathan Ong
Collaborator

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 Holowaychuk
Collaborator

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

TJ Holowaychuk
Collaborator

if not re-open

TJ Holowaychuk visionmedia closed this December 31, 2012
Jonathan Ong
Collaborator

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
Something went wrong with that request. Please try again.