Skip to content

Commit 054f8cd

Browse files
tarunbatraMylesBorins
authored andcommitted
doc: corrects reference to tlsClientError
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]>
1 parent 69143ff commit 054f8cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/tls.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -982,8 +982,8 @@ added: v0.3.2
982982
* `options` {Object}
983983
* `handshakeTimeout` {number} Abort the connection if the SSL/TLS handshake
984984
does not finish in the specified number of milliseconds. Defaults to `120`
985-
seconds. A `'clientError'` is emitted on the `tls.Server` object whenever a
986-
handshake times out.
985+
seconds. A `'tlsClientError'` is emitted on the `tls.Server` object whenever
986+
a handshake times out.
987987
* `requestCert` {boolean} If `true` the server will request a certificate from
988988
clients that connect and attempt to verify that certificate. Defaults to
989989
`false`.

0 commit comments

Comments
 (0)