Browse Source

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>
v6.x
Tarun 8 years ago
committed by Myles Borins
parent
commit
054f8cdc4d
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 4
      doc/api/tls.md

4
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`.

Loading…
Cancel
Save