[ python-Bugs-1166206 ] SSL_pending is not used

SourceForge.net noreply at sourceforge.net
Fri Mar 31 20:04:14 CEST 2006


Bugs item #1166206, was opened at 2005-03-18 20:18
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1166206&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: yawl (yawl)
Assigned to: Nobody/Anonymous (nobody)
Summary: SSL_pending is not used

Initial Comment:
I am not a Python user but use openssl a lot.
Recently I am checking implementations of non-blocking 
usage of SSL and find _ssl.c in Python.
It does a good job but I find there is an error in the code.
The problem is SSL_pending() should be called to check 
if there is data in openssl's internal buffer, otherwise a 
timeout may occur while it shouldn't.

This link explains SSL_Pending in detail:
http://www.linuxjournal.com/article/5487

And you check also check out SSL_Pending man page.


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

>Comment By: Georg Brandl (gbrandl)
Date: 2006-03-31 18:04

Message:
Logged In: YES 
user_id=849994

Fixed with the commit of patch #1380952.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1166206&group_id=5470


More information about the Python-bugs-list mailing list