doc: remove "note that" from tls.md
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16 PR-URL: https://github.com/nodejs/node/pull/28329 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
5df70e0d67
commit
ca851a47bf
@ -481,7 +481,7 @@ single argument when called:
|
|||||||
The `tlsSocket.authorized` property is a `boolean` indicating whether the
|
The `tlsSocket.authorized` property is a `boolean` indicating whether the
|
||||||
client has been verified by one of the supplied Certificate Authorities for the
|
client has been verified by one of the supplied Certificate Authorities for the
|
||||||
server. If `tlsSocket.authorized` is `false`, then `socket.authorizationError`
|
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.
|
of the TLS server, unauthorized connections may still be accepted.
|
||||||
|
|
||||||
The `tlsSocket.alpnProtocol` property is a string that contains the selected
|
The `tlsSocket.alpnProtocol` property is a string that contains the selected
|
||||||
@ -1214,9 +1214,9 @@ changes:
|
|||||||
[`net.Socket`][], but any `Duplex` stream is allowed.
|
[`net.Socket`][], but any `Duplex` stream is allowed.
|
||||||
If this option is specified, `path`, `host` and `port` are ignored,
|
If this option is specified, `path`, `host` and `port` are ignored,
|
||||||
except for certificate validation. Usually, a socket is already connected
|
except for certificate validation. Usually, a socket is already connected
|
||||||
when passed to `tls.connect()`, but it can be connected later. Note that
|
when passed to `tls.connect()`, but it can be connected later.
|
||||||
connection/disconnection/destruction of `socket` is the user's
|
Connection/disconnection/destruction of `socket` is the user's
|
||||||
responsibility, calling `tls.connect()` will not cause `net.connect()` to be
|
responsibility; calling `tls.connect()` will not cause `net.connect()` to be
|
||||||
called.
|
called.
|
||||||
* `rejectUnauthorized` {boolean} If not `false`, the server certificate is
|
* `rejectUnauthorized` {boolean} If not `false`, the server certificate is
|
||||||
verified against the list of supplied CAs. An `'error'` event is emitted if
|
verified against the list of supplied CAs. An `'error'` event is emitted if
|
||||||
|
Loading…
x
Reference in New Issue
Block a user