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: correct non-blocking behavior in _ssl.c
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gtalvola, gvanrossum
Priority: normal Keywords: patch

Created on 2003-01-29 00:15 by gtalvola, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
_ssl.c.patch gtalvola, 2003-01-29 00:16 patch to _ssl.c to fix non-blocking behavior
Messages (3)
msg42565 - (view) Author: Geoff Talvola (gtalvola) Date: 2003-01-29 00:15
This is yet another patch to _ssl.c that sets the
underlying BIO to non-blocking if the socket being
wrapped is non-blocking.  It also correctly loops when
SSL_connect, SSL_write, or SSL_read indicates that it
needs to read or write more bytes.

This seems to fix bug #673797 which was not fixed by my
previous patch.

I'm waiting for Ben Laurie to review this patch for me,
then I'll assign it to Guido to check it in.
msg42566 - (view) Author: Geoff Talvola (gtalvola) Date: 2003-01-31 17:53
Logged In: YES 
user_id=88162

Reviewed by Ben Laurie, ready to check in.
msg42567 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2003-01-31 18:18
Logged In: YES 
user_id=6380

OK, checked in as _ssl.c 1.10. Thanks to both of you!
History
Date User Action Args
2022-04-10 16:06:16adminsetgithub: 37860
2003-01-29 00:15:27gtalvolacreate