Skip to content

Commit

Permalink
doc: corrects reference to tlsClientError
Browse files Browse the repository at this point in the history
After the renaming of `clientError` in TLS to `tlsClientError` in
1ab6b21,
the docs inconsistently referred the error as `clientError`, which is now
corrected.

Fixes: #13417
PR-URL: #13533
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
tarunbatra authored and MylesBorins committed Jul 17, 2017
1 parent 69143ff commit 054f8cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,8 @@ added: v0.3.2
* `options` {Object}
* `handshakeTimeout` {number} Abort the connection if the SSL/TLS handshake
does not finish in the specified number of milliseconds. Defaults to `120`
seconds. A `'clientError'` is emitted on the `tls.Server` object whenever a
handshake times out.
seconds. A `'tlsClientError'` is emitted on the `tls.Server` object whenever
a handshake times out.
* `requestCert` {boolean} If `true` the server will request a certificate from
clients that connect and attempt to verify that certificate. Defaults to
`false`.
Expand Down

0 comments on commit 054f8cd

Please sign in to comment.