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
Revert: Close the socket if there's a failure in start_connection() #10464 (#10656)
Reverts #10464
While this change improved the situation for uvloop users, it caused a
regression with `SelectorEventLoop` (issue #10617)
The alternative fix is MagicStack/uvloop#646
(not merged at the time of this PR)
issue #10617 appears to be very similar to
python/cpython@d5aeccf
If someone can come up with a working reproducer for #10617 we can
revisit this.
cc @top-oai
Minimal implementation that shows on cancellation the socket is cleaned
up without the explicit `close`
#10617 (comment)
so this should be unneeded unless I've missed something (very possible
with all the moving parts here)
## Related issue number
fixes#10617
(cherry picked from commit 06db052)
0 commit comments