Re: SMTP troubles



Hi Karl and list

I think I've solved this one!

For those who are interested this is the problem:

During sessions with the server when PIPELINING is enabled
sio_poll() should not block when checking if the server has
sent anything to the client unless it has just issued the
last command in a sequence.  Unfortunately it always blocked.
This lead to a deadlock where both ends of the connection were
trying to read from each other.  Eventually either the server or
the client timed out.  (This is a different deadlock to the one
the revised polling in version 0.8 was supposed to solve, sigh!)

I will test this out a bit more and release later on,
hopefully today.

Brian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]