]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Increase SOMAXCONN to 4096
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 27 Sep 2022 21:37:42 +0000 (23:37 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 27 Sep 2022 21:37:42 +0000 (23:37 +0200)
Notably fakeroot-tcp may introduce a lot of parallel connections.

sysdeps/mach/hurd/bits/socket.h

index 70fce4fb276588a7f900b58483f3334052c7c7bf..4ece37f1dd85307f669ee59c3c427f52686aca6a 100644 (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>