I found the problem.  I was calling result.writeHead and result.end in the 
callback from the static file server module "node-static", which had 
already called them.

I am blown away that this would work fine and then die when idle for a few 
hours.  Also I am surprised that node could silently close.  So there is an 
"irregularity", if not bug, in node.  It should never just disappear.

This was the hardest bug for me to chase down in 45 years of programming. 
 Of course it might be because I'm getting senile.  :-)

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/46309c4a-0274-44e6-b89b-8d428a72fbcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to