Skip to content

Commit 8c5407d

Browse files
tarunbatraaddaleax
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 dd158b0 commit 8c5407d

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
@@ -1025,8 +1025,8 @@ changes:
10251025
* `options` {Object}
10261026
* `handshakeTimeout` {number} Abort the connection if the SSL/TLS handshake
10271027
does not finish in the specified number of milliseconds. Defaults to `120`
1028-
seconds. A `'clientError'` is emitted on the `tls.Server` object whenever a
1029-
handshake times out.
1028+
seconds. A `'tlsClientError'` is emitted on the `tls.Server` object whenever
1029+
a handshake times out.
10301030
* `requestCert` {boolean} If `true` the server will request a certificate from
10311031
clients that connect and attempt to verify that certificate. Defaults to
10321032
`false`.

0 commit comments

Comments
 (0)