summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-03-19 23:33:52 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-03-28 13:26:29 +0100
commitea37ac04f4e4e9248fb361d65a3cd69f57bcaba1 (patch)
treed557808e0afea5bae50b4590ddc520d9f7087ce1 /deps
parentf06b16f2e9e89e9d131dacb380ba321867823001 (diff)
downloadnode-new-ea37ac04f4e4e9248fb361d65a3cd69f57bcaba1.tar.gz
src: ignore ENOTCONN on shutdown race with child
On AIX, OS X and the BSDs, calling shutdown() on one end of a pipe when the other end has closed the connection fails with ENOTCONN. The sequential/test-child-process-execsync test failed sporadically because of a race between the parent and the child where one closed its end of the pipe before the other got around to calling shutdown() on its end of the pipe. Libuv is not the right place to handle that because it can't tell if the ENOTCONN error is genuine but io.js can. Refs: https://github.com/libuv/libuv/pull/268 PR-URL: https://github.com/iojs/io.js/pull/1214 Reviewed-By: Bert Belder <bertbelder@gmail.com>
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions