Problems with thread state
Laurent Szyster
laurent.szyster at q-survey.be
Tue Jul 3 16:17:27 EDT 2001
"Martin Sjögren" wrote:
>
> I'm trying to write an OpenSSL module for Python (purely in C) and
> I've run into a big problem.
There's allready a Python binding for OpenSSL: M2Crypto. Combining
Medusa and M2Crypto is the fastest I can think of to develop an SSL
network client or server.
> My understanding of the inner workings of Python isn't that big, so please
> help me out here.
>
> Seeing as a call to SSL_connect() might block, I surrounded the call to it
> by Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS. (...)
OpenSSL has non-blocking IO API calls.
More information about the Python-list
mailing list