On Mon, 02 Feb 2009 14:45:40 +0100, Johann Borck <johann.bo...@densedata.com> 
wrote:

[snip]
The correct way is to call conn.disconnect()/transport.loseConnection() in f1 instead of in cancel.

It's "correct" in that it works around the bug in Twisted.  However, this
*is* a bug in Twisted which should be fixed.  Then it will be just as
correct to do it one way as the other.

Jean-Paul

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to