From 7a290b24a16d8905db16f660345fa0e0f4f1de66 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Thu, 6 Mar 2025 23:46:53 +0100 Subject: [PATCH] git-SOMAXCONN commit 7de3f0a96c4e93a7cd7312296d00039604ed94f8 Author: Samuel Thibault Date: Tue Sep 27 23:37:42 2022 +0200 hurd: Increase SOMAXCONN to 4096 Notably fakeroot-tcp may introduce a lot of parallel connections. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-SOMAXCONN.diff --- sysdeps/mach/hurd/bits/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/mach/hurd/bits/socket.h b/sysdeps/mach/hurd/bits/socket.h index 70fce4fb2..4ece37f1d 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 -- 2.30.2