From efb3c71fea3ca6aa754c9529c108654f5b2ab1ae Mon Sep 17 00:00:00 2001 From: rickyes Date: Sun, 12 Apr 2020 02:07:35 +0800 Subject: [PATCH] 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 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Andrey Pechkurov --- doc/api/https.md | 6 +- doc/api/tls.md | 5 ++ lib/_tls_wrap.js | 4 +- test/parallel/test-https-hwm.js | 66 ++++++++++++++++++++ test/parallel/test-tls-connect-hwm-option.js | 53 ++++++++++++++++ 5 files changed, 132 insertions(+), 2 deletions(-) create mode 100644 test/parallel/test-https-hwm.js create mode 100644 test/parallel/test-tls-connect-hwm-option.js diff --git a/doc/api/https.md b/doc/api/https.md index ac53b6f0fdeccf..2b19831e9e907c 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -238,6 +238,9 @@ Global instance of [`https.Agent`][] for all HTTPS client requests.