The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-child-process-fork-getconnections.js @ 6f043940

History | View | Annotate | Download (3.34 KB)

# Date Author Comment
b319264d 04/03/2013 01:01 PM isaacs

test: fork-getconnections stricter, less chatty

9352c198 03/25/2013 06:07 PM Ben Noordhuis

child_process: don't emit same handle twice

It's possible to read multiple messages off the parent/child channel.
When that happens, make sure that recvHandle is cleared after emitting
the first message so it doesn't get emitted twice.

4488a69f 01/17/2013 06:13 PM Fedor Indutny

child_process: do not keep list of sent sockets

Keeping list of all sockets that were sent to child process causes memory
leak and thus unacceptable (see #4587). However `server.close()` should
still work properly.

This commit introduces two options:

  • child.send(socket, { track: true }) - will send socket and track its status....
44cd121c 01/17/2013 06:13 PM Fedor Indutny

Revert "child_process: do not keep list of sent sockets"

This reverts commit db5ee0b3decace9b5d80ee535ce53183aff02909.

db5ee0b3 01/17/2013 04:46 PM Fedor Indutny

child_process: do not keep list of sent sockets

Keeping list of all sockets that were sent to child process causes memory
leak and thus unacceptable (see #4587). However `server.close()` should
still work properly.

This commit introduces two options:

  • child.send(socket, { track: true }) - will send socket and track its status....