summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarun <tarun.batra00@gmail.com>2017-06-08 03:00:35 +0530
committerMyles Borins <mylesborins@google.com>2017-07-17 14:16:07 -0400
commit054f8cdc4de099d1dd3218b62ebf472760611b19 (patch)
treef73efc03053e505a1fd36afd092b83cd2fe0d067
parent69143ffcf98f925dd20977e085a420cc39c1fc0c (diff)
downloadnode-new-054f8cdc4de099d1dd3218b62ebf472760611b19.tar.gz
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 <refack@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
-rw-r--r--doc/api/tls.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 3bb0b2e6a6..b45af9bd63 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -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`.