Hello!

You may want to give a try to: socket.destroySoon(). socket.destroy() - is
supposed to kill the socket as soon as possible.

On Thu, Jul 16, 2015 at 11:49 AM, 'Michael Hasenstein' via nodejs <
[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/nodejs/ae7c8c44-d545-4522-a66f-33df378bbd38%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEv2VfL_0obco3j2Kk9G7bXcqoTa__emTopz3exzQF3BjXqEcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to