[Twisted-Python] Re: How can I disconnect ssl connection from the client side?

Jean-Paul Calderone exarkun at divmod.com
Mon Feb 2 07:35:31 MST 2009


On Mon, 02 Feb 2009 14:45:40 +0100, Johann Borck <johann.borck at 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




More information about the Twisted-Python mailing list