[PYTHON-CRYPTO] M2Crypto.httpslib.HTTPSConnection only works once?

Heikki Toivonen heikki at OSAFOUNDATION.ORG
Mon Jan 31 20:48:57 CET 2005

Ng Pheng Siong wrote:
> On Fri, Jan 28, 2005 at 01:42:36PM -0800, Heikki Toivonen wrote:
>>M2Crypto.SSL.SSLError: bad write retry
> (BTW, Heikki, are you the one who added the
> "except SSL.SSL_ReadWrite_Retry_Error" stuff?)

No, I don't think so (I haven't touched ZServerSSL).

> Now, if you are using blocking sockets, then this will be a very curious
> situation, because, for the longest time, in SWIG/_ssl.i's bio_set_ssl():
>     SSL_set_mode(ssl, SSL_MODE_AUTO_RETRY);
> which supposedly means that OpenSSL will retry automatically without
> bothering the application.

Well, I wasn't setting the blocking/nonblocking explicitly anywhere. But
I also tried setting it explicitly to blocking, and got same error.

   Heikki Toivonen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20050131/926ebcee/attachment.pgp>

More information about the python-crypto mailing list