0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Brian White 12274a5c1b 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-02-11 10:47:36 -05:00
..
abort src: honor --abort_on_uncaught_exception flag 2015-09-17 15:25:25 -05:00
addons test: remove unused vars 2016-01-05 08:59:58 -08:00
cctest
debugger lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
disabled test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
fixtures test: enable to work pkcs12 test in FIPS mode 2016-02-09 13:05:48 +09:00
gc tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
internet dns: add resolvePtr to query plain DNS PTR records 2016-02-08 17:30:38 +01:00
message node: improve process.nextTick performance 2016-02-09 02:46:43 -07:00
parallel child_process: fix data loss with readable event 2016-02-11 10:47:36 -05:00
pummel test: pummel test fixes 2016-02-01 09:17:55 -08:00
sequential test: fix flaky test-http-regr-gh-2928 2016-02-10 12:23:28 -08:00
testpy test: fix default value for additional param 2015-09-15 19:59:38 +05:30
timers test: remove unused vars 2016-01-05 08:59:58 -08:00
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js test: remove unneeded common.indirectInstanceOf() 2016-02-10 09:50:00 -08:00