From: Samuel Thibault Date: Tue, 27 Sep 2022 21:37:42 +0000 (+0200) Subject: hurd: Increase SOMAXCONN to 4096 X-Git-Tag: glibc-2.37~314 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de3f0a96c4e93a7cd7312296d00039604ed94f8;p=thirdparty%2Fglibc.git hurd: Increase SOMAXCONN to 4096 Notably fakeroot-tcp may introduce a lot of parallel connections. --- diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h index 70fce4fb276..4ece37f1dd8 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