Commit 2ccc8f39 authored by Fedor Indutny's avatar Fedor Indutny
Browse files

tls_wrap: fix this incredibly stupid leak

Always call `Done` on the WriteWrap, and ensure that `EncOut` will
consume all data in clear_in_ and invoke queued callbacks.

Fix: https://github.com/iojs/io.js/issues/1075
PR-URL: https://github.com/iojs/io.js/pull/1244


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent e74b5d27
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment