CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2012/01/12 15:40:16
Modified files:
usr.sbin/smtpd : ramqueue.c runner.c
Log message:
the ramqueue filling at startup was busted, it would load envelopes one by
one instead of doing it efficiently.
fix runner_timeout() and ramqueue_load() so that at startup smtpd fills the
ramqueue as long as there's no schedulable envelope in it, interrupts
filling if there is and resume once it's scheduled.
bug spotted by Nathanael Rensel, bug fix by me w/ help from eric@
tested by eric@ and I