From 597ba1580a1942aff78b79f613ed272b7e92ce02 Mon Sep 17 00:00:00 2001 From: Tarun Date: Thu, 8 Jun 2017 03:00:35 +0530 Subject: [PATCH] doc: corrects reference to tlsClientError After the renaming of `clientError` in TLS to `tlsClientError` in https://github.com/nodejs/node/commit/1ab6b21360d97719b3101153fb164c0c3eddf08, the docs inconsistently referred the error as `clientError`, which is now corrected. Fixes: https://github.com/nodejs/node/issues/13417 PR-URL: https://github.com/nodejs/node/pull/13533 Reviewed-By: Refael Ackermann Reviewed-By: Roman Reiss --- doc/api/tls.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index 6229c7a79fa..94db2dea67b 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -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`.