Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
munged: Allow listen-backlog to specify default or SOMAXCONN
Change the behavior of the "--listen-backlog" command-line option in order for a value of 0 to use the software default (MUNGE_SOCKET_BACKLOG), and a value of -1 to specify SOMAXCONN. Note that SOMAXCONN is now 4096 on current Linux systems; it was 128 before Linux 5.4 which meant that the munged socket had been using the maximum backlog up until that point. Reference: - https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html Tested: - AlmaLinux 9.3, 8.9 - Arch Linux - CentOS Linux Stream 9, Stream 8, 7.9.2009, 6.10 - Debian sid, 12.5, 11.9, 10.13, 9.13, 8.11, 7.11, 6.0.10, 5.0.10, 4.0 - Fedora 39, 38, 37 - FreeBSD 13.2 - NetBSD 9.3 - OpenBSD 7.4, 7.3 - openSUSE 15.5, 15.4 - Ubuntu 23.10, 22.04.4, 20.04.6, 18.04.6, 16.04.7, 14.04.6 PR #139
- Loading branch information