From owner-cvs-usrsbin Fri Sep 6 09:08:48 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA04089 for cvs-usrsbin-outgoing; Fri, 6 Sep 1996 09:08:48 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA04046; Fri, 6 Sep 1996 09:08:33 -0700 (PDT) Date: Fri, 6 Sep 1996 09:08:33 -0700 (PDT) From: Peter Wemm Message-Id: <199609061608.JAA04046@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/sup/lib scm.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/09/06 09:08:33 Modified: usr.sbin/sup/lib scm.c Log: Turn on SO_KEEPALIVE on network connections. Since we limit the number of connections, we cannot afford to allow "disappeared" client to cause us to leave one of the 14 connections open and hanging in a read() forever. (SO_KEEPALIVE causes probe packets to be sent after a few hours of IDLE time where no data has been transferred. Sup should NEVER do this, so the only time it will have an effect is if it looses the remote machine) Revision Changes Path 1.3 +5 -0 src/usr.sbin/sup/lib/scm.c