0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Robert Nagy f58e8eb103 stream: do not deadlock duplexpair
If nothing is buffered then _read will not be called and the
callback will not be invoked, effectivly deadlocking.

Fixes: https://github.com/nodejs/node/issues/29758

PR-URL: https://github.com/nodejs/node/pull/29836
Refs: https://github.com/nodejs/node/pull/29649
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
2019-10-05 17:43:21 -07:00
..
assert lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
bootstrap esm: remove proxy for builtin exports 2019-10-05 20:11:15 -04:00
cluster lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
console console: update time formatting 2019-10-01 21:13:53 +02:00
crypto crypto: remove arbitrary UTF16 restriction 2019-10-03 13:54:36 -07:00
dns dns: update lookupService() first arg name 2019-08-10 19:06:21 -07:00
fs lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
http2 http2: set default maxConcurrentStreams 2019-10-05 23:51:03 +08:00
main worker: fix process._fatalException return type 2019-09-27 16:26:42 -07:00
modules esm: remove proxy for builtin exports 2019-10-05 20:11:15 -04:00
per_context src: re-delete Atomics.wake 2019-09-18 16:09:20 -05:00
policy policy: minor perf opts and cleanup 2019-09-03 11:12:05 -05:00
process process: use public readableFlowing property 2019-09-14 16:12:37 +08:00
readline lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
repl repl: close file descriptor of history file 2019-08-10 19:21:33 -07:00
source_map process: add source-map support to stack traces 2019-10-05 17:08:00 -07:00
streams stream: do not deadlock duplexpair 2019-10-05 17:43:21 -07:00
test
util lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
vm vm: refactor SourceTextModule 2019-10-02 15:54:35 -07:00
worker worker: only unref port for stdin if we ref’ed it before 2019-06-20 11:27:27 -06:00
assert.js
async_hooks.js async_hooks: only disable promise hook if wanted 2019-05-13 12:47:45 +02:00
buffer.js tools: update eslint 2019-06-27 11:57:19 +02:00
child_process.js lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
cli_table.js console: use getStringWidth() for character width calculation 2019-09-02 11:43:58 +05:30
constants.js
dgram.js
dtrace.js
encoding.js util: add encodeInto to TextEncoder 2019-09-13 20:27:18 +02:00
error-serdes.js
errors.js lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
fixed_queue.js process: improve nextTick performance 2019-08-27 22:14:15 -04:00
freelist.js
freeze_intrinsics.js bootstrap: --frozen-intrinsics override problem workaround 2019-06-22 23:17:44 +02:00
http.js http: simplify drain() 2019-08-19 12:56:08 -07:00
idna.js
inspector_async_hook.js
js_stream_socket.js stream: use readableObjectMode public api for js stream 2019-05-19 23:37:51 +02:00
linkedlist.js
net.js lib: correct error.errno to always be numeric 2019-06-17 10:18:09 +08:00
options.js
priority_queue.js
querystring.js
readme.md
repl.js
socket_list.js
stream_base_commons.js net: allow reading data into a static buffer 2019-08-23 17:05:52 -04:00
timers.js timers: set _destroyed even if there are no destroy-hooks 2019-09-22 16:19:26 -07:00
tls.js
trace_events_async_hooks.js
tty.js lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
url.js lib: introduce no-mixed-operators eslint rule to lib 2019-10-05 13:59:32 -07:00
util.js lib: stop using prepareStackTrace 2019-10-02 16:17:01 -07:00
v8_prof_polyfill.js
v8_prof_processor.js
validators.js crypto: refactor array buffer view validation 2019-10-01 22:39:37 +02:00
worker.js stream: cleanup use of internal ended state 2019-09-24 06:42:56 +02:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.