joyent/node — pull request #7111 by indutny (2014-02-13 13:19:39+00:00)
Title: zlib: introduce pending close state

zlib should not crash in `close()` if the write is still in progress.

fix #7101