Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ee6421e

Browse files
committedDec 30, 2016
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. Fix nodejs#10538
1 parent 72a8488 commit ee6421e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
 

‎doc/api/tls.md

+2-6
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)
Please sign in to comment.