You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
00458: test_ssl: Don't stop ThreadedEchoServer on OSError in ConnectionHandler
If `read()` in the ConnectionHandler thread raises `OSError` (except `ConnectionError`),
the ConnectionHandler shuts down the entire ThreadedEchoServer,
preventing further connections.
It also does that for `EPROTOTYPE` in `wrap_conn`.
Make sure that the context manager *is* used, and remove the `server.stop()`
calls from ConnectionHandler.
Backported from 3.12+:
python#126503
Co-authored-by: Petr Viktorin <encukou@gmail.com>
0 commit comments