0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Rich Trott d25db11312 tls: introduce ERR_TLS_INVALID_CONTEXT
It is trivially possible to cause an internal assertion error with
tls.createSecurePair(). Throw a friendly error instead. Reserve internal
assertions for things that we believe to be impossible.

PR-URL: https://github.com/nodejs/node/pull/30718
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-12-01 12:07:14 -08:00
..
internal tls: introduce ERR_TLS_INVALID_CONTEXT 2019-12-01 12:07:14 -08:00
_http_agent.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_http_client.js http: make maximum header size configurable per-stream or per-server 2019-12-01 03:00:46 +01:00
_http_common.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_http_incoming.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_http_outgoing.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
_http_server.js http: make maximum header size configurable per-stream or per-server 2019-12-01 03:00:46 +01:00
_stream_duplex.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_passthrough.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_readable.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
_stream_transform.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_wrap.js lib: assign missed deprecation code 2019-03-07 15:48:55 +01:00
_stream_writable.js stream: improve performance for sync write finishes 2019-12-01 02:14:00 +01:00
_tls_common.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
_tls_wrap.js tls: introduce ERR_TLS_INVALID_CONTEXT 2019-12-01 12:07:14 -08:00
.eslintrc.yaml lib: enforce use of primordial Number 2019-11-30 13:58:25 +01:00
assert.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
async_hooks.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
buffer.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
child_process.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
cluster.js
console.js console: split console into global.js and constructor.js 2018-12-02 04:51:18 +08:00
constants.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
crypto.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
dgram.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
dns.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
domain.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
events.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
fs.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
http2.js http2: order declarations in http2.js 2018-11-20 10:42:31 -08:00
http.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
https.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
inspector.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
module.js lib: rework logic of stripping BOM+Shebang from commonjs 2019-05-26 13:04:29 -05:00
net.js lib: enforce use of primordial Number 2019-11-30 13:58:25 +01:00
os.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
path.js path: replace var with let in lib/path.js 2019-11-09 08:44:29 -08:00
perf_hooks.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
process.js
punycode.js
querystring.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
readline.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
repl.js repl: fix referrer for dynamic import 2019-11-30 20:07:52 -08:00
stream.js stream: simplify uint8ArrayToBuffer helper 2019-10-22 13:37:59 -05:00
string_decoder.js lib: replace ArrayBuffer.isView by primordial ArrayBuffer 2019-11-30 01:35:11 +01:00
sys.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
timers.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
tls.js tls: allow empty subject even with altNames defined 2019-11-29 02:13:41 +01:00
trace_events.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
tty.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
url.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
util.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
v8.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
vm.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
wasi.js wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
worker_threads.js worker: allow specifying resource limits 2019-11-05 19:57:13 +01:00
zlib.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00