8000 gh-118950: Fix SSLProtocol.connection_lost not being called when OSError is thrown on asyncio.write. by cjavad · Pull Request #118960 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-118950: Fix SSLProtocol.connection_lost not being called when OSError is thrown on asyncio.write. #118960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 24, 2024
Prev Previous commit
Next Next commit
Update Misc/NEWS.d/next/Core and Builtins/2024-05-12-03-10-36.gh-issu…
…e-118950.5Wc4vp.rst
  • Loading branch information
kumaraditya303 authored Oct 24, 2024
commit 158899d005678f4626d5f860ef3c92ba9ba8d048
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
Let _SSLProtocolTransport.is_closing reflect SSLProtocol internal transport
closing state so that StreamWriter.drain will invoke sleep(0) which calls
connection_lost and correctly notifies waiters of connection lost.
Fix bug where SSLProtocol.connection_lost wasn't getting called when OSError was thrown on writing to socket.
Loading
0