[Patches] [ python-Patches-475045 ] Nonblocking SSL
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 25 Oct 2001 13:32:10 -0700
Patches item #475045, was opened at 2001-10-25 13:31
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=475045&group_id=5470
Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerhard Häring (ghaering)
Assigned to: Nobody/Anonymous (nobody)
Summary: Nonblocking SSL
Initial Comment:
Currently, the calls to the OpenSSL library in
socketmodule.c are blocking. This can be annoying,
for example when trying to access multiple HTTPS
servers in threads.
This patch adds Py_(BEGIN/END)_ALLOW_THREADS around
the SSL calls that might block.
It also gets rid of one redundant call to
SSL_get_error.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=475045&group_id=5470