[issue30740] SSLError when cancelling an SSL connection

2022-03-09 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue30740] SSLError when cancelling an SSL connection

2022-03-09 Thread Kumar Aditya
Kumar Aditya added the comment: This is fixed on main branch with bpo-44011 and does not raises exception. This can be closed now @asvetlov. -- nosy: +asvetlov, kumaraditya303 versions: +Python 3.11 -Python 3.6 ___ Python tracker

[issue30740] SSLError when cancelling an SSL connection

2017-06-23 Thread Mark Haase
New submission from Mark Haase: If a task is cancelled while it waiting for SSL negotiation, then an SSLError is raised, but there is no way (as far as I can tell) for the caller to catch it. (The example below is pretty contrived, but in an application I'm working on, the user can cancel down