Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
squash! address @lpinca's suggestion
  • Loading branch information
aqrln committed May 24, 2017
commit f7db525ebcb1623fa7a01b8df98f74ff2e3f4b14
10 changes: 6 additions & 4 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,13 @@ by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`
on Linux. The default value of this parameter is 511 (not 512).


*Note*: All [`net.Socket`][] are set to `SO_REUSEADDR` (See [socket(7)][] for
details).
*Note*:

*Note*: The `server.listen()` method may be called multiple times. Each
subsequent call will *re-open* the server using the provided options.
* All [`net.Socket`][] are set to `SO_REUSEADDR` (See [socket(7)][] for
details).

* The `server.listen()` method may be called multiple times. Each
subsequent call will *re-open* the server using the provided options.

One of the most common errors raised when listening is `EADDRINUSE`.
This happens when another server is already listening on the requested
Expand Down
14 changes: 8 additions & 6 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -989,13 +989,15 @@ changes:
* `sessionIdContext` {string} Optional opaque identifier used by servers to
ensure session state is not shared between applications. Unused by clients.

*Note*: [`tls.createServer()`][] sets the default value of the
`honorCipherOrder` option to `true`, other APIs that create secure contexts
leave it unset.
*Note*:

*Note*: [`tls.createServer()`][] uses a 128 bit truncated SHA1 hash value
generated from `process.argv` as the default value of the `sessionIdContext`
option, other APIs that create secure contexts have no default value.
* [`tls.createServer()`][] sets the default value of the
`honorCipherOrder` option to `true`, other APIs that create secure contexts
leave it unset.

* [`tls.createServer()`][] uses a 128 bit truncated SHA1 hash value
generated from `process.argv` as the default value of the `sessionIdContext`
option, other APIs that create secure contexts have no default value.

The `tls.createSecureContext()` method creates a credentials object.

Expand Down