Files
node/lib
Santiago Gimeno 09eb58894e child_process: fix handleless NODE_HANDLE handling
It is possible that `recvmsg()` may return an error on ancillary data
reception when receiving a `NODE_HANDLE` message (for example
`MSG_CTRUNC`). This would end up, if the handle type was `net.Socket`,
on a `message` event with a non null but invalid `sendHandle`. To
improve the situation, send a `NODE_HANDLE_NACK` that'll cause the
sending process to retransmit the message again. In case the same
message is retransmitted 3 times without success, close the handle and
print a warning.

PR-URL: https://github.com/nodejs/node/pull/13235
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2017-07-18 19:57:31 +02:00
..
2017-07-18 19:57:20 +02:00
2017-07-18 19:57:20 +02:00
2017-07-18 19:56:26 +02:00
2017-07-18 19:57:20 +02:00
2016-10-04 12:17:32 -04:00
2017-07-18 19:57:20 +02:00
2017-03-10 11:23:48 -08:00
2017-07-18 19:57:20 +02:00
2017-07-18 19:57:20 +02:00
2017-07-18 19:57:20 +02:00
2017-07-18 19:57:20 +02:00
2017-03-10 11:23:48 -08:00
2017-06-05 12:28:24 -07:00