summaryrefslogtreecommitdiff
path: root/usr.sbin/sup/lib/scm.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1997-03-27 03:07:27 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1997-03-27 03:07:27 +0000
commit1784d64eb85eb63599204bb31b826970b6661e65 (patch)
tree31089dd6c9e4a7feeac25f24574e6269b75f5db0 /usr.sbin/sup/lib/scm.c
parentfe49c1266233ddc2306072aefb4e1c1d045060fe (diff)
Diffstat (limited to 'usr.sbin/sup/lib/scm.c')
-rw-r--r--usr.sbin/sup/lib/scm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.sbin/sup/lib/scm.c b/usr.sbin/sup/lib/scm.c
index bbfe943365a46..204103b5e7400 100644
--- a/usr.sbin/sup/lib/scm.c
+++ b/usr.sbin/sup/lib/scm.c
@@ -69,6 +69,15 @@
* since Tahoe version of <netinet/in.h> does not define them.
*
* $Log: scm.c,v $
+ * Revision 1.3 1996/09/06 16:08:32 peter
+ * 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 1.2 1995/12/26 05:02:49 peter
* Apply ports/net/sup/patches/patch-aa...
*