about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-09-27 23:37:42 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-09-27 23:37:42 +0200
commit7de3f0a96c4e93a7cd7312296d00039604ed94f8 (patch)
tree6bdba8fd957cec71ee6bad2b914449d2bbeb0fd1
parent22f4ab2d200f605441cdd2b49ec9c97d43eb11c9 (diff)
downloadglibc-7de3f0a96c4e93a7cd7312296d00039604ed94f8.tar.gz
glibc-7de3f0a96c4e93a7cd7312296d00039604ed94f8.tar.xz
glibc-7de3f0a96c4e93a7cd7312296d00039604ed94f8.zip
hurd: Increase SOMAXCONN to 4096
Notably fakeroot-tcp may introduce a lot of parallel connections.
-rw-r--r--sysdeps/mach/hurd/bits/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h
index 70fce4fb27..4ece37f1dd 100644
--- a/sysdeps/mach/hurd/bits/socket.h
+++ b/sysdeps/mach/hurd/bits/socket.h
@@ -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>