This fixes a really nasty bug that means that some (mostly spam, admittedly) mail would get missed. What happens is if you pause the connection (needed if you YIELD for something) then the line-reading loop exits, and never gets back there unless the client sends more data. If the client is an abuser (i.e. pipelines) then you might never get back to the read loop. (yes, this was a bitch to track down :-))
This fixes a really nasty bug that means that some (mostly spam, admittedly) mail would get missed.
What happens is if you pause the connection (needed if you YIELD for something)
then the line-reading loop exits, and never gets back there unless the client
sends more data. If the client is an abuser (i.e. pipelines) then you might
never get back to the read loop.
(yes, this was a bitch to track down :-))


git-svn-id: 5bd49132847c26fb0bf09d36ee8823e0080b2740@730 958fd67b-6ff1-0310-b445-bb7760255be9

sieutruc/qpsmtpd,vetinari/qpsmtpd,msimerson/qpsmtpd,vetinari/qpsmtpd,priyadi/qpsmtpd,salvis/qpsmtpd,salvis/qpsmtpd,sieutruc/qpsmtpd,smtpd/qpsmtpd,smtpd/qpsmtpd,priyadi/qpsmtpd,priyadi/qpsmtpd,msimerson/qpsmtpd,sieutruc/qpsmtpd