CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/10/19 02:13:34
Modified files:
usr.sbin/slowcgi: slowcgi.c
Log message:
When calculating the fd limit before accepting a new connection also
account for the inflight fds caused by the new connection. Without this
slowcgi could fail when close to the limit because FD_RESERVE is smaller
then FD_NEEDED.
OK florian@, tested by Kristaps Dzonsons
