Skip to content

Instantly share code, notes, and snippets.

View williamkapke's full-sized avatar

TwistedKap williamkapke

View GitHub Profile

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.

NOTES:

  • 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
@williamkapke
williamkapke / attendance.json
Last active July 29, 2016 05:50
Node.js Foundation meeting attendance
{
"CTC": {
"2016-07-27": {
"members": [
"ChALkeR",
"Fishrock123",
"Trott",
"indutny",
"jasnell",
"misterdjules",