Because I think it should, but it doesn't, see this issue I debugged in node-imap today:
https://github.com/mscdex/node-imap/issues/452#issuecomment-122023433 Basically, calling socket.destroy() did not end the connection. I had to add a socket.end() in front to make it work. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/ae7c8c44-d545-4522-a66f-33df378bbd38%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
