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 <refack@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
tarunbatra authored and addaleax committed Jun 10, 2017
1 parent dd158b0 commit 8c5407d
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 @@ -1025,8 +1025,8 @@ changes:
* `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 8c5407d

Please sign in to comment.