diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py index 31eab51ca17..c7fb4e7c60f 100644 --- a/Lib/asyncio/sslproto.py +++ b/Lib/asyncio/sslproto.py @@ -577,7 +577,7 @@ def _on_handshake_complete(self, handshake_exc): # _on_handshake_complete() can be called indirectly from # _process_write_backlog(), and _process_write_backlog() is not # reentrant. - self._loop.call(self._process_write_backlog) + self._loop.call_soon(self._process_write_backlog) def _process_write_backlog(self): # Try to make progress on the write backlog.