node/doc/api
Alba Mendez 1dafaf03cb tls: fix --tls-keylog option
There's a typo that causes only the first socket to be logged
(i.e. when the warning is emitted).

In addition, server sockets aren't logged because `keylog` events
are not emitted on tls.Server, not the socket. This behaviour is
counterintuitive and has caused more bugs in the past, so make all
sockets (server or client) emit 'keylog'. tls.Server will just
re-emit these events.

Refs: https://github.com/nodejs/node/pull/30055
PR-URL: https://github.com/nodejs/node/pull/33366
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
2020-05-14 16:52:52 +02:00
..
addons.md doc: update context-aware section of addon doc 2020-03-31 10:22:12 -07:00
assert.md 2020-05-05, Version 14.2.0 (Current) 2020-05-05 20:24:37 +02:00
async_hooks.md async_hooks: move PromiseHook handler to JS 2020-05-09 07:52:22 +02:00
buffer.md doc: update Buffer(size) documentation 2020-05-08 01:16:03 +02:00
child_process.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
cli.md 2020-04-29, Version 13.14.0 (Current) 2020-04-30 00:24:31 +02:00
cluster.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
console.md 2020-05-05, Version 14.2.0 (Current) 2020-05-05 20:24:37 +02:00
crypto.md doc: correct description of decipher.setAuthTag in crypto.md 2020-05-08 01:37:26 +02:00
debugger.md doc: reword possessive form of Node.js in debugger.md 2020-02-17 17:32:53 -08:00
deprecations.md 2020-04-29, Version 13.14.0 (Current) 2020-04-30 00:24:31 +02:00
dgram.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
dns.md 2020-04-14, Version 13.13.0 (Current) 2020-04-14 20:22:41 +02:00
documentation.md doc: add link to sem-ver info 2020-03-02 04:07:33 +00:00
domain.md doc,domain: use code markup/markdown in headers 2019-12-26 21:39:24 -08:00
embedding.md 2020-04-21, Version 14.0.0 (Current) 2020-04-21 15:50:14 +01:00
errors.md wasi: prevent syscalls before start 2020-05-08 01:02:19 +02:00
esm.md doc: explicitly doc package.exports is breaking 2020-05-05 13:48:26 -04:00
events.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
fs.md fs: add .ref() and .unref() methods to watcher classes 2020-05-09 07:59:08 +02:00
globals.md doc: use code markup/markdown in headers in globals documentation 2019-12-26 21:39:26 -08:00
http2.md doc: add Uint8Array to end and write 2020-05-08 01:10:36 +02:00
http.md doc: add note about clientError writable handling 2020-05-12 20:02:49 +02:00
https.md 2020-04-29, Version 13.14.0 (Current) 2020-04-30 00:24:31 +02:00
index.md doc: add basic embedding example documentation 2020-03-21 10:58:25 +01:00
inspector.md doc,inspector: use code markup/markdown in headers 2019-12-26 21:39:27 -08:00
intl.md tools: support full-icu by default 2019-10-03 15:21:26 -07:00
modules.md doc: remove repeated word in modules.md 2020-04-23 19:22:28 +03:00
n-api.md doc: fix typo in n-api.md 2020-05-12 05:39:05 +02:00
net.md doc: add warning for socket.connect reuse 2020-05-08 18:03:26 +02:00
os.md doc: fix markdown parsing on doc/api/os.md 2020-04-29 03:53:28 +02:00
path.md doc: use uppercase on windows path 2020-03-29 22:43:53 +02:00
perf_hooks.md 2020-04-28, Version 12.16.3 'Erbium' (LTS) 2020-04-28 15:24:52 +02:00
policy.md doc: remove personal pronoun usage in policy.md 2020-03-09 19:47:29 -07:00
process.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
punycode.md doc,punycode: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
querystring.md doc,querystring: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
readline.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
repl.md doc: reword possessive form of Node.js in repl.md 2020-02-12 00:20:37 -08:00
report.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
stream.md doc: fix the spelling error in stream.md 2020-04-30 18:30:46 -05:00
string_decoder.md doc: add support encoding link on string_decoder.md 2020-03-11 17:06:13 +01:00
synopsis.md doc: move Usage and Example to same header level 2019-07-09 19:45:20 -07:00
timers.md doc,timers: use code markup/markdown in headers 2019-12-26 21:39:32 -08:00
tls.md tls: fix --tls-keylog option 2020-05-14 16:52:52 +02:00
tracing.md doc: remove dashes 2019-10-26 08:39:41 -07:00
tty.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00
url.md doc: doc and test URLSearchParams discrepancy 2020-05-06 10:40:10 -07:00
util.md doc: add util.types.isArrayBufferView() 2020-05-02 10:32:26 +05:30
v8.md doc: clarify that v8.serialize() is not deterministic 2020-01-30 16:35:47 -08:00
vm.md doc: removed unnecessary util imports from vm examples 2020-05-08 01:20:10 +02:00
wasi.md wasi: update start() behavior to match spec 2020-04-28 13:04:43 -04:00
worker_threads.md doc: add warnings about transferring Buffers and ArrayBuffer 2020-05-08 00:59:15 +02:00
zlib.md doc: fix LTS replaceme tags 2020-04-28 15:23:46 +02:00