summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-connect-allow-half-open-option.js
AgeCommit message (Collapse)Author
2019-08-17tls: allow client-side sockets to be half-openedLuigi Pinca
Make `tls.connect()` support an `allowHalfOpen` option which specifies whether or not to allow the connection to be half-opened when the `socket` option is not specified. PR-URL: https://github.com/nodejs/node/pull/27836 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ouyang Yadong <oyydoibh@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>