From 7bd2cae19707737f2ebc812e11688330de24cbc4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 20 Jun 2019 13:37:44 -0600 Subject: [PATCH] doc: remove "note that" from tls.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16 PR-URL: https://github.com/nodejs/node/pull/28329 Reviewed-By: Gus Caplan Reviewed-By: Trivikram Kamat Reviewed-By: Tobias Nießen Reviewed-By: Ruben Bridgewater --- doc/api/tls.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index 9672d824943067..601eedd7c9bf92 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -481,7 +481,7 @@ single argument when called: The `tlsSocket.authorized` property is a `boolean` indicating whether the client has been verified by one of the supplied Certificate Authorities for the server. If `tlsSocket.authorized` is `false`, then `socket.authorizationError` -is set to describe how authorization failed. Note that depending on the settings +is set to describe how authorization failed. Depending on the settings of the TLS server, unauthorized connections may still be accepted. The `tlsSocket.alpnProtocol` property is a string that contains the selected @@ -1214,9 +1214,9 @@ changes: [`net.Socket`][], but any `Duplex` stream is allowed. If this option is specified, `path`, `host` and `port` are ignored, except for certificate validation. Usually, a socket is already connected - when passed to `tls.connect()`, but it can be connected later. Note that - connection/disconnection/destruction of `socket` is the user's - responsibility, calling `tls.connect()` will not cause `net.connect()` to be + when passed to `tls.connect()`, but it can be connected later. + Connection/disconnection/destruction of `socket` is the user's + responsibility; calling `tls.connect()` will not cause `net.connect()` to be called. * `rejectUnauthorized` {boolean} If not `false`, the server certificate is verified against the list of supplied CAs. An `'error'` event is emitted if