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: Infinite loop in asyncio sslproto
Type: behavior Stage: resolved
Components: asyncio Versions: Python 3.8
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, linxy95, python-dev, yselivanov
Priority: normal Keywords: patch

Created on 2021-01-16 17:10 by linxy95, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 24230 closed python-dev, 2021-01-16 17:27
Messages (2)
msg385144 - (view) Author: Hingyuen Lam (linxy95) * Date: 2021-01-16 17:10
There is an infinite loop in feed_appdata() of sslproto.py.
The OpenSSL documents said when some fatal I/O error occurred, SSL_ERROR_SYSCALL is returned and no further I/O operations should be performed. This error is ignored in the exception handling of feed_appdata(), and the while loop will never be break.
This error should be raised, the same for feed_ssldata().
msg415408 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2022-03-17 13:08
sslproto was rewritten from scratch in Python 3.11
History
Date User Action Args
2022-04-11 14:59:40adminsetgithub: 87107
2022-03-17 13:08:24asvetlovsetstatus: open -> closed
resolution: out of date
messages: + msg415408

stage: patch review -> resolved
2021-01-16 17:27:28python-devsetkeywords: + patch
nosy: + python-dev

pull_requests: + pull_request23053
stage: patch review
2021-01-16 17:10:09linxy95create