Instantly share code, notes, and snippets.

View attendance.json
"CTC": {
"2016-07-27": {
"members": [

The problem:

A forked process ends connections when these 2 conditions exist in the child:

  1. The child process thread takes longer than ~2 seconds to start.
  2. The child makes a http request.


  • This is only happens to the sockets that are given to the child before the child is done loading.
  • I'm running node v0.10.18 and have not tried on any other versions (yet).
  • NODE_DEBUG="net http" didn't reveal anything helpful.
  • This is on OSX 10.7.5