2013/6/8 Isaac Schlueter <[email protected]>:
> I'm a little annoyed that server.close() makes the server keep sending
> Connection:Keep-Alive headers.  It'd be nice if the response objects
> could terminate the connection automatically (and send
> Connection:Close) if the server is no longer listening.  We've
> discussed doing this in node core, but in the meantime, a module for
> this would be nice.  Substack's "destroyer" is a bit too agressive for
> this use case.

I do actually have a module for this:
https://github.com/tellnes/http-close

It relies on `socket._httpMessage`, so it may break on upgrade
(undocumented), but since you always should test when upgrading do I
not see this as a problem.

--
Sincerely, Christian Vaagland Tellnes
Phone: +4791861617
https://github.com/tellnes

-- 
-- 
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.


Reply via email to