mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
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.
This commit is contained in:
parent
692910e615
commit
8ee124f577
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13258
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue