Skip to content

tls, doc: documentation mentions unexisting clientError event #13417

Description

@ChALkeR
  • Version: 8.0.0, 7.10.0, 6.10.3
  • Subsystem: tls, doc

Before 1ab6b21 (before 6.0.0) there was a clientError event in tls module. Since 6.0.0, it was renamed to tlsClientError, and atm there are no mentions of clientError in the code of the tls module.

But https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener states

A 'clientError' is emitted on the tls.Server object whenever a handshake times out.

I think that's a documentation error.

I didn't re-check, though, so this should be rechecked before fixing the docs.

/cc @indutny

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.tlsIssues and PRs related to the tls subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions