chris mikkelson [Fri, 3 Apr 2009 02:06:05 +0000 (21:06 -0500)]
Clean up module return code handling; renamed SSM_MSG to more descriptive
SSM_RESPONSE, and cleaned up macros, adding SSM_PASSED to avoid the explicit
(ret & 0x0F) comparisons.
chris mikkelson [Thu, 2 Apr 2009 04:47:31 +0000 (23:47 -0500)]
Set connection fds to nonblocking, detect blocked writes
(reads *should* not block, since they only occur when the
I/O thread gets a readability event).
chris mikkelson [Fri, 27 Mar 2009 03:20:03 +0000 (22:20 -0500)]
Daemonization now works, and is the default. Creating threads
then forking breaks synchronization, leading to a double-init
of a mutex, and a core dump....
chris mikkelson [Wed, 25 Mar 2009 13:27:27 +0000 (08:27 -0500)]
Fleshed out options processing in smtpsink.c
Signal handling fixed -- event_base is passed to signal
handling thread, subsequent call to event_init() sets
default base for main thread's event calls.