mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
asyncio/windows_events.py: use more revelant names to overlapped callbacks
For example: "finish_recv", not just "finish".
This commit is contained in:
parent
984689821d
commit
c89c8a7be9
2 changed files with 11 additions and 12 deletions
|
@ -702,8 +702,7 @@ class _SelectorSslTransport(_SelectorTransport):
|
|||
if self._buffer:
|
||||
try:
|
||||
n = self._sock.send(self._buffer)
|
||||
except (BlockingIOError, InterruptedError,
|
||||
ssl.SSLWantWriteError):
|
||||
except (BlockingIOError, InterruptedError, ssl.SSLWantWriteError):
|
||||
n = 0
|
||||
except ssl.SSLWantReadError:
|
||||
n = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue