[ python-Bugs-1166206 ] SSL_pending is not used

SourceForge.net noreply at sourceforge.net
Fri Mar 18 21:18:42 CET 2005


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

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: hahahhah (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.


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

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