node/lib/internal
Brian White ab787ad0ab child_process: fix data loss with readable event
This commit prevents child process stdio streams from being
automatically flushed on child process exit/close if a 'readable'
event handler has been attached at the time of exit.

Without this, child process stdio data can be lost if the process
exits quickly and a `read()` (e.g. from a 'readable' handler)
hasn't had the chance to get called yet.

Fixes: https://github.com/nodejs/node/issues/5034
PR-URL: https://github.com/nodejs/node/pull/5036
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-03-02 14:01:11 -08:00
..
streams streams: refactor LazyTransform to internal/ 2015-09-15 13:53:21 -04:00
child_process.js child_process: fix data loss with readable event 2016-03-02 14:01:11 -08:00
cluster.js cluster: remove handles when disconnecting worker 2015-12-23 08:38:33 -08:00
freelist.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
module.js module,repl: remove repl require() hack 2016-01-19 11:52:29 -08:00
net.js net: move isLegalPort to internal/net 2016-03-02 14:01:11 -08:00
readme.md doc: add internal modules notice 2015-08-25 11:58:50 -04:00
repl.js repl: make sure historyPath is trimmed 2016-02-15 11:30:23 -08:00
socket_list.js lib,src: remove usage of events.EventEmitter 2015-09-23 08:39:34 +10:00
util.js util: move .decorateErrorStack to internal/util 2016-01-19 11:52:29 -08:00
v8_prof_polyfill.js tools: run tick processor without forking 2016-03-02 14:01:11 -08:00
v8_prof_processor.js tools: run tick processor without forking 2016-03-02 14:01:11 -08: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 are subject to change at any time. Reliance on these modules outside of core is not supported in any way.