hurd: Increase SOMAXCONN to 4096

Notably fakeroot-tcp may introduce a lot of parallel connections.
This commit is contained in:
Samuel Thibault 2022-09-27 23:37:42 +02:00
parent 22f4ab2d20
commit 7de3f0a96c
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ enum __socket_type
#define AF_MAX PF_MAX
/* Maximum queue length specifiable by listen. */
#define SOMAXCONN 128 /* 5 on the origional 4.4 BSD. */
#define SOMAXCONN 4096 /* 5 on the origional 4.4 BSD. */
/* Get the definition of the macro to define the common sockaddr members. */
#include <bits/sockaddr.h>