child_process: fix handle passing with large payloads
Fix situations in which the handle passed along with a message
that has a large payload and can’t be read entirely by a single
recvmsg()
call isn’t associated with the message to which it
belongs.
Fixes: https://github.com/nodejs/node/issues/13778
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
child_process