Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls: use .destroy(err) instead of destroy+emit #1711

Closed
wants to merge 1 commit into from

Commits on May 15, 2015

  1. tls: use .destroy(err) instead of destroy+emit

    Emit errors using `.destroy(err)` instead of `.destroy()` and
    `.emit('error', err)`. Otherwise `close` event is emitted with the
    `error` argument set to `false`, even if the connection was torn down
    because of the error.
    
    See: nodejs#1119
    indutny committed May 15, 2015
    Configuration menu
    Copy the full SHA
    4badb4e View commit details
    Browse the repository at this point in the history