[Patches] [ python-Patches-475046 ] Nonblocking SSL

noreply@sourceforge.net noreply@sourceforge.net
Thu, 25 Oct 2001 13:43:30 -0700


Patches item #475046, was opened at 2001-10-25 13:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=475046&group_id=5470

Category: Modules
Group: None
>Status: Deleted
>Resolution: Duplicate
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.


----------------------------------------------------------------------

>Comment By: Gerhard Häring (ghaering)
Date: 2001-10-25 13:43

Message:
Logged In: YES 
user_id=163326

Deleting the duplicate patch.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=475046&group_id=5470