[Twisted-Python] M2Crypto+Twisted, part 2

Itamar Shtull-Trauring itamar at itamarst.org
Wed Dec 8 15:00:27 EST 2004

On Wed, 2004-12-08 at 11:45 -0800, Heikki Toivonen wrote:

> So, when my wrapper notices an SSL error, how do I signal that the 
> connection should be dropped because there was an error - and pass some 
> info about the error along?

Aren't you calling the user protocol's connectionLost yourself? You
could remember the reason (if you did) that you closed connection,  and
pass that.

More information about the Twisted-Python mailing list