4 Sep 2008 14:15
Re: PATCH: qpsmtpd-prefork
Radu Greab <radu <at> yx.ro>
2008-09-04 12:15:29 GMT
2008-09-04 12:15:29 GMT
Diego d'Ambra wrote: > > Attached is proposed reworked version of daemon qpsmtpd-prefork. > > Due to the number of changes I've included 2 files - one is the full > perl file (if somebody finds that more easy to use) the other is diff > against svn revision 936. I've split your change into smaller pieces, as per your changelog, and committed them with the following modifications: > * Fixed taint issue with argument [--interface]. Since the opinions I've seen suggest that trusting the config files (and command line parameters) is OK, I've opted to just untaint the value and not validate it with Data::Validate::IP. The value will be validated when attempting the bind. Change #940. > * Fixed issue with slow or missing adjustment of children pool size on > very busy system. For this I changed the main loop to not sleep when, after some children have exited, it should check and adjust the pool size. Change #939. I don't know if it is enough. If not, please give more details about the comparison you make in your patch, where you recheck the pool if parent slept less than two seconds. > * Fixed shutdown of parent (and children) on very busy system.(Continue reading)
RSS Feed