8000 bpo-44011: New asyncio ssl implementation by asvetlov · Pull Request #17975 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-44011: New asyncio ssl implementation #17975

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 12 commits into from
May 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore transp._force_close()
  • Loading branch information
asvetlov committed Mar 8, 2020
commit 8b0f2036c0f14bdf08396b3013adeab5b649d232
4 changes: 4 additions & 0 deletions Lib/asyncio/sslproto.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ def abort(self):
self._closed = True
self._ssl_protocol._abort()

def _force_close(self, exc):
self._closed = True
self._ssl_protocol._abort(exc)

def _test__append_write_backlog(self, data):
# for test only
self._ssl_protocol._write_backlog.append(data)
Expand Down
0