Skip to content

Commit 5213276

Browse files
sam-githubtargos
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 9b0a4fa commit 5213276

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
@@ -891,7 +891,7 @@ changes:
891891
first byte is the length of the next protocol name. Passing an array is
892892
usually much simpler, e.g. `['hello', 'world']`.
893893
* `servername`: {string} Server name for the SNI (Server Name Indication) TLS
894-
extension.
894+
extension. It must be a host name, and not an IP address.
895895
* `checkServerIdentity(servername, cert)` {Function} A callback function
896896
to be used (instead of the builtin `tls.checkServerIdentity()` function)
897897
when checking the server's hostname (or the provided `servername` when

0 commit comments

Comments
 (0)