[Twisted-Python] SMTP Client Blocking Connects

Jason J. W. Williams jasonjwwilliams at gmail.com
Mon Jul 19 13:19:59 EDT 2010

Hey Glyph,

Sorry it took me a week...thanks for looking at it. This is an
approximation of just the SMTP logic that I thought was blocking. It
appears not to block, but has an issue executing the other deferreds.



On Mon, Jul 12, 2010 at 6:53 PM, Glyph Lefkowitz
<glyph at twistedmatrix.com> wrote:
> On Jul 12, 2010, at 8:51 PM, Jason J. W. Williams wrote:
> Are TCP connects in Twisted usually blocking? Noticing a behavior when
> I've got several simultaneous SMTP client objects operating, where
> when one of them hits a server that times out on the connect...the
> program blocks until the connect times out. Everything else is working
> async/non-blocking as expected.
> They're absolutely not supposed to be!  If you can reproduce this, you've
> definitely found a bug.  (A quick search doesn't turn up any existing bugs.)
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list