GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: standardize on "host name" in tls.md · nodejs/node@2824527

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • tls.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/tls.md‎

Copy file name to clipboardExpand all lines: doc/api/tls.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ called:
545545
added: v0.5.3
546546
-->
547547

548-
* `hostname` {string} A SNI hostname or wildcard (e.g. `'*'`)
548+
* `hostname` {string} A SNI host name or wildcard (e.g. `'*'`)
549549
* `context` {Object} An object containing any of the possible properties
550550
from the [`tls.createSecureContext()`][] `options` arguments (e.g. `key`,
551551
`cert`, `ca`, etc).
@@ -1308,7 +1308,7 @@ changes:
13081308
with optional identity `hint` provided by the server or `null`
13091309
in case of TLS 1.3 where `hint` was removed.
13101310
It will be necessary to provide a custom `tls.checkServerIdentity()`
1311-
for the connection as the default one will try to check hostname/IP
1311+
for the connection as the default one will try to check host name/IP
13121312
of the server against the certificate but that's not applicable for PSK
13131313
because there won't be a certificate present.
13141314
More information can be found in the [RFC 4279][].
@@ -1328,7 +1328,7 @@ changes:
13281328
`SNICallback` option to [`tls.createServer()`][].
13291329
* `checkServerIdentity(servername, cert)` {Function} A callback function
13301330
to be used (instead of the builtin `tls.checkServerIdentity()` function)
1331-
when checking the server's hostname (or the provided `servername` when
1331+
when checking the server's host name (or the provided `servername` when
13321332
explicitly set) against the certificate. This should return an {Error} if
13331333
verification fails. The method should return `undefined` if the `servername`
13341334
and `cert` are verified.

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.