I was taking a break from other things and decided to read through my patch
one more time and found good reason to never code while tired.  There's a
bug which causes the procedure to leak file descriptors.  The server should
begin to fail badly after about _SC_OPEN_MAX emails are moved around. (On
my linux test system this is currently 1024.)

The fix is easy, right before 'if (broke) continue;' near line 200, add
'close(fdread);'.

C=)

-- 
--------------------------------------------------------------------------
     Better the hard truth than the comforting fantasy. -- Carl Sagan
--------------------------------------------------------------------------
Caskey <caskey*technocage.com>       ///                   TechnoCage Inc.
--------------------------------------------------------------------------
 A presumption on your part does not constitute an obligation on my part.

Reply via email to