0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Luigi Pinca aaa7547e77 tls: make tls.connect() accept a timeout option
If specified, and only when a socket is created internally, the option
will make `socket.setTimeout()` to be called on the created socket with
the given timeout.

This is consistent with the `timeout` option of `net.connect()` and
prevents the `timeout` option of the `https.Agent` from being ignored
when a socket is created.

PR-URL: https://github.com/nodejs/node/pull/25517
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-01-20 14:56:35 +01:00
..
addons.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
assert.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
async_hooks.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
buffer.md doc: add a note to buf.fill() description 2019-01-19 20:07:34 +02:00
child_process.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
cli.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
cluster.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
console.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00
crypto.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00
debugger.md inspector: use js_app.html as the landing page for chrome devtools 2018-06-28 09:24:02 -03:00
deprecations.md doc: fix deprecations metadata 2019-01-10 13:42:02 -05:00
dgram.md 2018-12-07, Version 11.4.0 (Current) 2018-12-07 18:50:20 +01:00
dns.md doc: add missing metadata for dns.lookup 2018-09-19 21:11:51 +02:00
documentation.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
domain.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
errors.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00
esm.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
events.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
fs.md doc: update behaviour of fs.writeFile 2019-01-08 00:02:02 +01:00
globals.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
http2.md doc: add authority and scheme psuedo headers 2018-12-05 21:49:09 +02:00
http.md doc: add history to http.request.setTimeout() 2019-01-09 10:40:21 +02:00
https.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
index.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
inspector.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
intl.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
modules.md doc: make modules.md more accurate 2019-01-08 01:16:51 +02:00
n-api.md doc: fix napi_open_callback_scope description 2019-01-13 23:03:35 +02:00
net.md doc: clarify timing of socket.connecting 2019-01-08 19:54:53 -08:00
os.md doc: update os.networkInterfaces() example 2019-01-11 21:35:05 +02:00
path.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
perf_hooks.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
policy.md policy: manifest with subresource integrity checks 2019-01-17 09:43:42 -06:00
process.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
punycode.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
querystring.md doc: remove redundant 'Example:' and similar notes 2018-08-29 16:53:03 +03:00
readline.md 2018-12-07, Version 11.4.0 (Current) 2018-12-07 18:50:20 +01:00
repl.md doc: add types and their corresponding return values 2018-11-02 00:36:40 +02:00
report.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
stream.md doc: revert incorrect change on readable._read 2019-01-15 09:44:45 +05:30
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
synopsis.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
timers.md 2018-10-23, Version 11.0.0 (Current) 2018-10-23 11:03:02 -07:00
tls.md tls: make tls.connect() accept a timeout option 2019-01-20 14:56:35 +01:00
tracing.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
tty.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
url.md doc: list all versions WHATWG URL api was added 2018-12-05 15:08:38 -08:00
util.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00
v8.md doc: fix, unify, formalize, and amplify vm.md 2019-01-11 22:21:44 +02:00
vm.md doc: fix section order in vm.md 2019-01-14 09:36:41 +01:00
worker_threads.md worker: enable passing command line flags 2019-01-18 05:39:58 +01:00
zlib.md 2019-01-17, Version 11.7.0 (Current), @BridgeAR 2019-01-18 14:03:19 +01:00