Subject: Re: Detecting broken connection

Re: Detecting broken connection

From: Peter Stuge <peter_at_stuge.se>
Date: Thu, 15 Jul 2010 18:24:31 +0200

Jose Baars wrote:
> Point is that the default on Linux ( sockets have no keep alive
> enabled ) can not be changed.

Did you look at the TCP-Keepalive HOWTO that I linked to?

It seems to suggest that keepalive is always enabled also on Linux,
but the default timeout is long enough at 7500 seconds that it might
seem like the feature is disabled completely.

//Peter

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2010-07-15