Skip to content

Commit 7bd2cae

Browse files
Trotttargos
authored andcommitted
doc: remove "note that" from tls.md
Refs: nodejs/remark-preset-lint-node#16 PR-URL: #28329 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 204c9d8 commit 7bd2cae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/tls.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ single argument when called:
481481
The `tlsSocket.authorized` property is a `boolean` indicating whether the
482482
client has been verified by one of the supplied Certificate Authorities for the
483483
server. If `tlsSocket.authorized` is `false`, then `socket.authorizationError`
484-
is set to describe how authorization failed. Note that depending on the settings
484+
is set to describe how authorization failed. Depending on the settings
485485
of the TLS server, unauthorized connections may still be accepted.
486486

487487
The `tlsSocket.alpnProtocol` property is a string that contains the selected
@@ -1214,9 +1214,9 @@ changes:
12141214
[`net.Socket`][], but any `Duplex` stream is allowed.
12151215
If this option is specified, `path`, `host` and `port` are ignored,
12161216
except for certificate validation. Usually, a socket is already connected
1217-
when passed to `tls.connect()`, but it can be connected later. Note that
1218-
connection/disconnection/destruction of `socket` is the user's
1219-
responsibility, calling `tls.connect()` will not cause `net.connect()` to be
1217+
when passed to `tls.connect()`, but it can be connected later.
1218+
Connection/disconnection/destruction of `socket` is the user's
1219+
responsibility; calling `tls.connect()` will not cause `net.connect()` to be
12201220
called.
12211221
* `rejectUnauthorized` {boolean} If not `false`, the server certificate is
12221222
verified against the list of supplied CAs. An `'error'` event is emitted if

0 commit comments

Comments
 (0)