Re: M2Crypto.httpslib.HTTPSConnection only works once?

Heikki Toivonen <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 249 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFB/outb8x8KoP+JuwRAtb9AJwL5Ux3yBOVN8Oeefm3nvabO4R0zQCcCU16
xVZLlF3Xzc6NqGLZnYrOy8M=
=NOjV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.