CVSROOT: /cvs Module name: src Changes by: r...@cvs.openbsd.org 2016/11/24 14:01:18
Modified files: usr.sbin/relayd: config.c proc.c relayd.c relayd.h Log message: The new fork+exec mode used too many fds in the parent process on startup, for a short time, so we needed a rlimit hack in relayd.c. Sync the fix from httpd: rzalamena@ has fixed proc.c and I added the proc_flush_imsg() mechanism that makes sure that each fd is immediately closed after forwarding it to a child process instead of queueing it up. OK rzalamena@ jca@ benno@