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
{{ message }}
Repository navigation
Commit 324bbc2
Browse filesBrowse the repository at this point in the historyBrowse files
Handle BrokenResourceError in _assert_stream_closed for Windows
On Windows, TerminateJobObject causes an abrupt TCP RST (not clean FIN),
so anyio raises BrokenResourceError instead of EndOfStream when reading
from a socket held by the terminated child. Both exceptions indicate the
peer is dead — catch both.
Github-Issue: #1775
0 commit comments