This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients asvetlov, vstinner, yselivanov
Date 2018-05-28.20:38:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527539882.42.0.682650639539.issue33674@psf.upfronthosting.co.za>
In-reply-to
Content
Workaround:

diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
index 2bfa45dd15..4a5dbb38a1 100644
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -592,7 +592,7 @@ class SSLProtocol(protocols.Protocol):
         # (b'', 1) is a special value in _process_write_backlog() to do
         # the SSL handshake
         self._write_backlog.append((b'', 1))
-        self._loop.call_soon(self._process_write_backlog)
+        self._process_write_backlog()
         self._handshake_timeout_handle = \
             self._loop.call_later(self._ssl_handshake_timeout,
                                   self._check_handshake_timeout)
History
Date User Action Args
2018-05-28 20:38:02vstinnersetrecipients: + vstinner, asvetlov, yselivanov
2018-05-28 20:38:02vstinnersetmessageid: <1527539882.42.0.682650639539.issue33674@psf.upfronthosting.co.za>
2018-05-28 20:38:02vstinnerlinkissue33674 messages
2018-05-28 20:38:02vstinnercreate