[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smtp busylooping
On Fri, Jul 21, 2000 at 01:06:30PM +0400, Eugene Crosser wrote:
> Here is another case of busylooping smtp transport:
> in smtp.c:1761 smtpconn() continiously returns EX_TEMPFAIL
> (I have yet to investigate the reason for that), and
> the process goes into cycle between lines 1754 and 1763...
Like always, this type of things are painfull to track.
It turned out to be code rearrangement bug -- a variable which before
got always set by explicite call didn't anymore -- and it retained
old value; 4, which happens to be EAI_AGAIN, and it in the end causes
accumulated (valid!) data to be discarded, and a return with EX_TEMPFAIL :-(
In the end the fix became (around line 4574): n = 0;
/Matti Aarnio <firstname.lastname@example.org>