[Midnightbsd-cvs] src [8738] trunk/usr.sbin/inetd/inetd.c: allow inetd to check kern.ipc.somaxconn rather than hard coding to 64
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Sep 25 20:24:14 EDT 2016
Revision: 8738
http://svnweb.midnightbsd.org/src/?rev=8738
Author: laffer1
Date: 2016-09-25 20:24:14 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
allow inetd to check kern.ipc.somaxconn rather than hard coding to 64
Modified Paths:
--------------
trunk/usr.sbin/inetd/inetd.c
Modified: trunk/usr.sbin/inetd/inetd.c
===================================================================
--- trunk/usr.sbin/inetd/inetd.c 2016-09-26 00:20:36 UTC (rev 8737)
+++ trunk/usr.sbin/inetd/inetd.c 2016-09-26 00:24:14 UTC (rev 8738)
@@ -1383,7 +1383,7 @@
}
}
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",
More information about the Midnightbsd-cvs
mailing list