mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: describe SNI host name format
Ref: https://github.com/nodejs/node/pull/23329 PR-URL: https://github.com/nodejs/node/pull/23357 Refs: https://github.com/nodejs/node/pull/23329 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
0763d256dc
commit
e449bbbd54
1 file changed
+1
-1
+1
-1
@@ -891,7 +891,7 @@ changes:
|
||||
first byte is the length of the next protocol name. Passing an array is
|
||||
usually much simpler, e.g. `['hello', 'world']`.
|
||||
* `servername`: {string} Server name for the SNI (Server Name Indication) TLS
|
||||
extension.
|
||||
extension. It must be a host name, and not an IP address.
|
||||
* `checkServerIdentity(servername, cert)` {Function} A callback function
|
||||
to be used (instead of the builtin `tls.checkServerIdentity()` function)
|
||||
when checking the server's hostname (or the provided `servername` when
|
||||
|
||||
Reference in new issue
Block a user