File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -892,7 +892,10 @@ changes:
892
892
first byte is the length of the next protocol name. Passing an array is
893
893
usually much simpler, e.g. ` ['hello', 'world'] ` .
894
894
* ` servername ` : {string} Server name for the SNI (Server Name Indication) TLS
895
- extension. It must be a host name, and not an IP address.
895
+ extension. It is the name of the host being connected to, and must be a host
896
+ name, and not an IP address. It can be used by a multi-homed server to
897
+ choose the correct certificate to present to the client, see the
898
+ ` SNICallback ` option to [ ` tls.createServer() ` ] [ ] .
896
899
* ` checkServerIdentity(servername, cert) ` {Function} A callback function
897
900
to be used (instead of the builtin ` tls.checkServerIdentity() ` function)
898
901
when checking the server's hostname (or the provided ` servername ` when
You can’t perform that action at this time.
0 commit comments