[PYTHON-CRYPTO] M2Crypto.httpslib.HTTPSConnection only works once?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 249 bytes
Desc: OpenPGP digital signature
More information about the python-crypto