I was able to duplicate the behavior that the child's socket's close event fires before the nag goes away. This was on Mac OS X 10.8.4 with node 0.10.18. Likewise I don't see that happen when running on a Ubuntu setup. I'd recommend opening a bug report.
-- Daniel R. <[email protected]> [http://danielr.neophi.com/] On Sat, Sep 7, 2013 at 3:07 PM, William Wicks <[email protected]> wrote: > Oh wow- really lame of me to not say what OS I'm seeing this on: OSX 10.7.5 > (gist updated with that) > > Super awesome that you tried to run it. Thank you. > > I tried it out on another (older) Mac I have here that is my "clean > machine" and got the same result. It has the same OSX 10.7.5 version though. > > I switched to node v0.10.0, since that is what you mentioned, and the > problem is still present. > > Since I already have v0.11.7 handy- I tried it as well- and the problem is > still present. > > Maybe this is an OSX thing? Wish I had more environments at my disposal.. > Hopefully someone else will try to run it and we'll see! > > > On Saturday, September 7, 2013 10:51:48 AM UTC-7, Ben Noordhuis wrote: > >> On Sat, Sep 7, 2013 at 7:14 PM, William Wicks <[email protected]> wrote: >> > >> > 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. >> > >> > NOTE1: This is only happens to the sockets that are given to the child >> > before the child is done loading. >> > NOTE2: I'm running node v0.10.18 and have not tried on any other >> versions >> > (yet). >> > NOTE3: NODE_DEBUG="net http" didn't reveal anything helpful. >> > >> > >> > I put together a gist to demonstrate: >> > https://gist.github.com/**williamwicks/6477189<https://gist.github.com/williamwicks/6477189> >> > >> > >> > I hope someone can shed some light on why this is happening. >> > >> > Thanks! >> > -Wm >> >> I've run your example a few times with HEAD of v0.10 and master but I >> can't reproduce what you're describing. Note that I've only tested it >> on x86_64 Linux. >> > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
