mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tls: add highWaterMark option for connect
PR-URL: https://github.com/nodejs/node/pull/32786 Fixes: https://github.com/nodejs/node/issues/32781 Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
This commit is contained in:
committed by
Andrey Pechkurov
parent
b37ec37210
commit
58682d823a
@@ -238,6 +238,9 @@ Global instance of [`https.Agent`][] for all HTTPS client requests.
|
||||
<!-- YAML
|
||||
added: v0.3.6
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/32786
|
||||
description: The `highWaterMark` option is accepted now.
|
||||
- version: v10.9.0
|
||||
pr-url: https://github.com/nodejs/node/pull/21616
|
||||
description: The `url` parameter can now be passed along with a separate
|
||||
@@ -263,7 +266,8 @@ Makes a request to a secure web server.
|
||||
The following additional `options` from [`tls.connect()`][] are also accepted:
|
||||
`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`,
|
||||
`honorCipherOrder`, `key`, `passphrase`, `pfx`, `rejectUnauthorized`,
|
||||
`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`.
|
||||
`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`,
|
||||
`highWaterMark`.
|
||||
|
||||
`options` can be an object, a string, or a [`URL`][] object. If `options` is a
|
||||
string, it is automatically parsed with [`new URL()`][]. If it is a [`URL`][]
|
||||
|
||||
Reference in New Issue
Block a user