Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c138ba3

Browse filesBrowse files
sam-githubMylesBorins
authored andcommitted
doc: new TLSSocket has no secure context options
Unlike all the other tls APIs, if any secure context configuration is required, the caller is responsible for creating the context. Corrects a doc regression introduced in caa7fa9. PR-URL: #10545 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent ba23506 commit c138ba3
Copy full SHA for c138ba3

File tree

Expand file treeCollapse file tree

1 file changed

+2
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-6
lines changed
Open diff view settings
Collapse file

‎doc/api/tls.md‎

Copy file name to clipboardExpand all lines: doc/api/tls.md
+2-6Lines changed: 2 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,8 @@ added: v0.11.4
483483
will be emitted on the socket before establishing a secure communication
484484
* `secureContext`: Optional TLS context object created with
485485
[`tls.createSecureContext()`][]. If a `secureContext` is _not_ provided, one
486-
will be created by passing the entire `options` object to
487-
`tls.createSecureContext()`. *Note*: In effect, all
488-
[`tls.createSecureContext()`][] options can be provided, but they will be
489-
_completely ignored_ unless the `secureContext` option is missing.
490-
* ...: Optional [`tls.createSecureContext()`][] options can be provided, see
491-
the `secureContext` option for more information.
486+
will be created by calling [`tls.createSecureContext()`][] with no options.
487+
492488
Construct a new `tls.TLSSocket` object from an existing TCP socket.
493489

494490
### Event: 'OCSPResponse'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.