Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix an SNI mistyped as SNS #9665

Merged
merged 4 commits into from
Nov 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ added: v0.1.90
-->

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
<!-- YAML
Expand Down
6 changes: 3 additions & 3 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
<!-- YAML
Expand All @@ -365,7 +365,7 @@ added: v0.3.2
The `server.close()` method stops the server from accepting new connections.

This function operates asynchronously. The `'close'` event will be emitted
when the the server is finally closed.
when the server has no more open connections.

### server.connections
<!-- YAML
Expand Down Expand Up @@ -394,7 +394,7 @@ added: v0.3.2
on any IPv6 address (`::`) when IPv6 is available, or any IPv4 address
(`0.0.0.0`) otherwise.
* `callback` {Function} A callback function to be invoked when the server has
begun listening the the `port` and `hostname`.
begun listening on the `port` and `hostname`.

The `server.listen()` methods instructs the server to begin accepting
connections on the specified `port` and `hostname`.
Expand Down