summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1996-01-05 17:49:30 +0000
committerdg <dg@FreeBSD.org>1996-01-05 17:49:30 +0000
commitd0328cb98caa8e43e38f976c0547ee89fb80a737 (patch)
tree19f0f6cae5ddf3863b8a0cf79733ce40ec19bf33
parentf9dc49400b383d5ccce33e7fd1b8dd151caadc4b (diff)
downloadFreeBSD-src-d0328cb98caa8e43e38f976c0547ee89fb80a737.zip
FreeBSD-src-d0328cb98caa8e43e38f976c0547ee89fb80a737.tar.gz
Increased default SOMAXCONN from 32 to 128. 128 is the largest value I
consider "safe" for most systems. Note that this is (has been for some time) also tunable with sysctl (via kern.somaxconn) should the operator wish to increase this value even higher. Also note that 128 is what the Netscape WWW server reportedly asks for.
-rw-r--r--sys/sys/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index 6bbb8fc..3eba5f0 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)socket.h 8.4 (Berkeley) 2/21/94
- * $Id: socket.h,v 1.6 1995/02/07 02:01:57 wollman Exp $
+ * $Id: socket.h,v 1.7 1995/09/13 05:35:49 davidg Exp $
*/
#ifndef _SYS_SOCKET_H_
@@ -241,7 +241,7 @@ struct sockproto {
/*
* Maximum queue length specifiable by listen.
*/
-#define SOMAXCONN 32
+#define SOMAXCONN 128
/*
* Message header for recvmsg and sendmsg calls.
OpenPOWER on IntegriCloud