Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2018-10-10 01:36:03 +0300
committerMyles Borins <mylesborins@google.com>2018-11-29 19:38:20 +0300
commite449bbbd5475b412e76222ed959a5c23e2bd7f4b (patch)
treea47fc7860b3796abb52e9209906eea3a999daa72 /doc
parent0763d256dc468c88c8aca8dbba32b2e1381dc7b1 (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/tls.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index fe8bfa27ef6..1f2b8906b5f 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -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