summaryrefslogtreecommitdiff
path: root/doc/api/tls.md
diff options
context:
space:
mode:
authorTarun <tarun.batra00@gmail.com>2017-06-08 03:00:35 +0530
committerRoman Reiss <me@silverwind.io>2017-06-08 14:41:37 +0200
commit597ba1580a1942aff78b79f613ed272b7e92ce02 (patch)
treec22d01451df176264fecd75f153421b01294c4a4 /doc/api/tls.md
parentd7f69192283b8483cd2a503ad0d3708ea85ee69c (diff)
downloadandroid-node-v8-597ba1580a1942aff78b79f613ed272b7e92ce02.tar.gz
android-node-v8-597ba1580a1942aff78b79f613ed272b7e92ce02.tar.bz2
android-node-v8-597ba1580a1942aff78b79f613ed272b7e92ce02.zip
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>
Diffstat (limited to 'doc/api/tls.md')
-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 6229c7a79f..94db2dea67 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`.