Re: tmda-ofmipd: Internal support for SSL via tlslite package

Stephen Warren <[email protected]> Wed, 28 Feb 2007 00:13:31 -0700
Newsgroups gmane.mail.spam.tmda.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here is a fix for the issue:

In tlslite/TLSRecordLayer.py, add the following code somewhere early on:

try:
    GeneratorExit
except NameError:
    class GeneratorExit(Exception): pass

In the function readAsync(), add this except clause just before this
existing one:

except GeneratorExit:
    raise

With that fix, Python 2.3.6, 2.4.4, and 2.5 all work in SSL and TLS
mode, using TBird 1.5.0.9 on Windows (this message is even sent through it!)

I assume there will be a new tlslite release that includes this fix - I
guess I'll find out soon!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5Subhk3bo0lNTrURAonLAKCWFDsLh4AiotNVZGQDPl9ZSA78dACfTFWS
X5/s4iVWULTJQEDYSnAKMu0=
=8VYV
-----END PGP SIGNATURE-----