summaryrefslogtreecommitdiff
path: root/doc/api/tls.md
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-04-30 11:46:56 -0400
committercjihrig <cjihrig@gmail.com>2019-05-02 12:37:49 -0400
commitc6a2fdf3aa8f8db7344ae7c530468b9feb715086 (patch)
tree04cec21d4369dd1dfb019defdd2bba70e7ecc71d /doc/api/tls.md
parentb233d028b3b48bc16d6f9ccbe4e00941e65920e3 (diff)
downloadandroid-node-v8-c6a2fdf3aa8f8db7344ae7c530468b9feb715086.tar.gz
android-node-v8-c6a2fdf3aa8f8db7344ae7c530468b9feb715086.tar.bz2
android-node-v8-c6a2fdf3aa8f8db7344ae7c530468b9feb715086.zip
tls: support enableTrace in TLSSocket()
This commit adds the enableTrace option to the TLSSocket constructor. It also plumbs the option through other relevant APIs. PR-URL: https://github.com/nodejs/node/pull/27497 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/tls.md')
-rw-r--r--doc/api/tls.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 228de39794..3d2a9534f1 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -586,6 +586,9 @@ connection is open.
<!-- YAML
added: v0.11.4
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/27497
+ description: The `enableTrace` option is now supported.
- version: v5.0.0
pr-url: https://github.com/nodejs/node/pull/2564
description: ALPN options are supported now.
@@ -596,6 +599,7 @@ changes:
instance of [`net.Socket`][] (for generic `Duplex` stream support
on the client side, [`tls.connect()`][] must be used).
* `options` {Object}
+ * `enableTrace`: See [`tls.createServer()`][]
* `isServer`: The SSL/TLS protocol is asymmetrical, TLSSockets must know if
they are to behave as a server or a client. If `true` the TLS socket will be
instantiated as a server. **Default:** `false`.
@@ -1125,6 +1129,9 @@ being issued by trusted CA (`options.ca`).
<!-- YAML
added: v0.11.3
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/27497
+ description: The `enableTrace` option is now supported.
- version: v11.8.0
pr-url: https://github.com/nodejs/node/pull/25517
description: The `timeout` option is supported now.
@@ -1144,6 +1151,7 @@ changes:
-->
* `options` {Object}
+ * `enableTrace`: See [`tls.createServer()`][]
* `host` {string} Host the client should connect to. **Default:**
`'localhost'`.
* `port` {number} Port the client should connect to.
@@ -1647,6 +1655,7 @@ changes:
* `rejectUnauthorized` {boolean} If not `false` a server automatically reject
clients with invalid certificates. Only applies when `isServer` is `true`.
* `options`
+ * `enableTrace`: See [`tls.createServer()`][]
* `secureContext`: A TLS context object from [`tls.createSecureContext()`][]
* `isServer`: If `true` the TLS socket will be instantiated in server-mode.
**Default:** `false`.