[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hurd,commited] hurd: Increase SOMAXCONN to 4096
From: |
Andreas Schwab |
Subject: |
Re: [hurd,commited] hurd: Increase SOMAXCONN to 4096 |
Date: |
Wed, 28 Sep 2022 09:48:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
On Sep 27 2022, Samuel Thibault wrote:
> Notably fakeroot-tcp may introduce a lot of parallel connections.
> ---
> 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 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. */
Perhaps fix the comment as well.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
- Re: [hurd,commited] hurd: Increase SOMAXCONN to 4096,
Andreas Schwab <=