CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2011/07/06 17:44:20

Modified files:
        lib/libc/gen   : sysctl.3 
        sys/netinet    : tcp_timer.c tcp_timer.h tcp_usrreq.c tcp_var.h 
        sbin/sysctl    : sysctl.8 

Log message:
Add sysctl net.inet.tcp.always_keepalive, when this is set the system
behaves as if SO_KEEPALIVE was set on all TCP sockets, forcing keepalives
to be sent every net.inet.tcp.keepidle half-seconds.

In conjunction with a keepidle value greatly reduced from the default,
this can be useful for keeping sessions open if you are stuck on a network
with short NAT or firewall timeouts.

Feedback from various people, ok henning@ claudio@

Reply via email to