Thanks! Now I know what to do. I checked the connections to the
clients and already seem to be keep-alive (from liveHTTPHeaders)
without me setting it manually on both sides, can you tell me how to
set a timeout for incoming requests? Thanks.

On Mar 30, 4:59 pm, Ben Noordhuis <[email protected]> wrote:
> On Fri, Mar 30, 2012 at 16:52, Masiar <[email protected]> wrote:
> > Basically you're saying to set TCP: keep-alive in both client AND
> > server? How can I do that?
> > Moreover, after setting it to keep-alive, shouldn't I set some kind of
> > timeout in the server too? Or is it just something fired by the client
> > when no response is received?
>
> The client and the server both need to enable keep-alive and a
> suitable timeout. If one doesn't, the other one is out of luck.

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

Reply via email to