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
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to