mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Force inetd to have listen queue size to be set to the value of
kern.ipc.somaxconn instead of hardcoded value 64. Submitted by: Andrey Ignatov <rdna@rdna.ru> MFC after: 2 weeks
This commit is contained in:
parent
8ff9900c28
commit
ec89b1f97c
1 changed files with 1 additions and 1 deletions
|
|
@ -1387,7 +1387,7 @@ setsockopt(fd, SOL_SOCKET, opt, (char *)&on, sizeof (on))
|
|||
}
|
||||
}
|
||||
if (sep->se_socktype == SOCK_STREAM)
|
||||
listen(sep->se_fd, 64);
|
||||
listen(sep->se_fd, -1);
|
||||
enable(sep);
|
||||
if (debug) {
|
||||
warnx("registered %s on %d",
|
||||
|
|
|
|||
Loading…
Reference in a new issue