]> granicus.if.org Git - python/commit
Issue #22560: Fix SSLProtocol._on_handshake_complete()
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 08:41:48 +0000 (09:41 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 08:41:48 +0000 (09:41 +0100)
commit042dad7232a021e6c848f1368e75d8b3e5ce0dbe
tree6729c9e163c213f6397d5a19af3db9e26c953370
parente7a35717d29cf0b070c814a7a43b44966bf89f73
Issue #22560: Fix SSLProtocol._on_handshake_complete()

Don't call immediatly self._process_write_backlog() but schedule the call using
call_soon(). _on_handshake_complete() can be called indirectly from
_process_write_backlog(), and _process_write_backlog() is not reentrant.
Lib/asyncio/sslproto.py