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

Atsuo Ishimoto ishimoto at gembook.org
Mon Feb 2 07:50:39 MST 2009


> This does look like a bug in Twisted.  Could you file a ticket for it?

Done. #3644.

>
> In the mean time, you can work around this by using a simpler cancel
> technique.  Get rid of the "conn.disconnect()" call in cancel and
> instead call the protocol's transport's loseConnection method in f1
> and f2 if CANCEL is set.
>

Thank you for your comment, Jean-Paul , Johann. Now my application
working right!




More information about the Twisted-Python mailing list