Skip to content

Commit 846cc7e

Browse files
sam-githubaddaleax
authored andcommitted
doc: describe SNI host name format
Ref: #23329 PR-URL: #23357 Refs: #23329 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 4d16d1e commit 846cc7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/tls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ changes:
894894
protocol name. Passing an array is usually much simpler, e.g.
895895
`['hello', 'world']`.
896896
* `servername`: {string} Server name for the SNI (Server Name Indication) TLS
897-
extension.
897+
extension. It must be a host name, and not an IP address.
898898
* `checkServerIdentity(servername, cert)` {Function} A callback function
899899
to be used (instead of the builtin `tls.checkServerIdentity()` function)
900900
when checking the server's hostname (or the provided `servername` when

0 commit comments

Comments
 (0)