Issue 1166206: SSL_pending is not used (original) (raw)

Issue1166206

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:10 admin set github: 41715
2005-03-18 20🔞42 yawl create