« Previous | Next » 

Revision 1c32eb4a

ID1c32eb4ae227f09e0e442ecd0445ec34d85332fe
Parent 9c2c8454
Child d7bf7ed9

Added by Ben Noordhuis over 11 years ago

zlib: don't assert on missing dictionary

Handle Z_NEED_DICT errors graciously. Fixes the following assertion:

node: ../src/node_zlib.cc:161: static void node::ZCtx::Process
(uv_work_t*): Assertion`ctx->dictionary_ != __null && "Stream
has no dictionary"' failed.
Aborted (core dumped)

Fixes #4632.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences