Skip to content

Commit ece70a8

Browse files
TrottMylesBorins
authored andcommitted
doc: standardize on "host name" in errors.md
Our docs have a mix of "hostname" and "host name" in prose. Let's follow the usage of Unix man pages, RFCs, and most professionally-edited sources, and use "host name" in prose and "hostname" to refer to the command and in code. Lint rule forthcoming. PR-URL: #31326 Refs: #31073 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent b8dee45 commit ece70a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ additional details.
17921792
<a id="ERR_TLS_CERT_ALTNAME_INVALID"></a>
17931793
### `ERR_TLS_CERT_ALTNAME_INVALID`
17941794

1795-
While using TLS, the hostname/IP of the peer did not match any of the
1795+
While using TLS, the host name/IP of the peer did not match any of the
17961796
`subjectAltNames` in its certificate.
17971797

17981798
<a id="ERR_TLS_DH_PARAM_SIZE"></a>
@@ -1843,7 +1843,7 @@ An attempt was made to renegotiate TLS on a socket instance with TLS disabled.
18431843
### `ERR_TLS_REQUIRED_SERVER_NAME`
18441844

18451845
While using TLS, the `server.addContext()` method was called without providing
1846-
a hostname in the first parameter.
1846+
a host name in the first parameter.
18471847

18481848
<a id="ERR_TLS_SESSION_ATTACK"></a>
18491849
### `ERR_TLS_SESSION_ATTACK`

0 commit comments

Comments
 (0)