From 9dcc7c578ee28af3d4b215731eccb3a56e04e12c Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Thu, 17 Nov 2016 12:17:07 -0800 Subject: [PATCH 1/4] doc: fix an SNI mistyped as SNS PR-URL: https://github.com/nodejs/node/pull/9665 Reviewed-By: Roman Reiss Reviewed-By: Michael Dawson Reviewed-By: Myles Borins Reviewed-By: Gibson Fahnestock Reviewed-By: Brian White Reviewed-By: Ben Noordhuis --- doc/api/tls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index e1edcc8d053f71..45d8b94c850f5d 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -343,7 +343,7 @@ added: v0.5.3 `cert`, `ca`, etc). The `server.addContext()` method adds a secure context that will be used if -the client request's SNS hostname matches the supplied `hostname` (or wildcard). +the client request's SNI hostname matches the supplied `hostname` (or wildcard). ### server.address() As [`socket.connect(options[, connectListener])`][`socket.connect(options, connectListener)`], -with options either as either `{port: port, host: host}` or `{path: path}`. +with options as either `{port: port, host: host}` or `{path: path}`. ### socket.connecting