This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: SSL_pending is not used
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, yawl
Priority: normal Keywords:

Created on 2005-03-18 20:18 by yawl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg24698 - (view) Author: yawl (yawl) Date: 2005-03-18 20:18
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.
msg24699 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-03-31 18:04
Logged In: YES 
user_id=849994

Fixed with the commit of patch #1380952.
History
Date User Action Args
2022-04-11 14:56:10adminsetgithub: 41715
2005-03-18 20:18:42yawlcreate