Re: Some issues with M2Crypto 0.18 and timeouts

"Juan M. Bello Rivas" <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <20071003204003.GA5201@morphism>
Hi,

On Wed, Oct 03, 2007 at 08:14:32PM +0200, Jesus Cea wrote:
>
> Seems "accept_ssl()" can be called several times if the socket is
> notblocking. Nice. But return codes is not consistent with openssl docs.
> In fact, I can't make sense of it :-?. Any example out there?. I can't
> differenciate between "waiting for read" and "waiting for writing", so I
> can't use a "select" there. Any idea?.

I think this:

http://www.opensslbook.com/res/nonblock_support.txt

and pages 159 to 166 from the same book are what you're looking for.

-- 
Juan M. Bello Rivas
http://superadditive.com
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.