STINNER Victor added the comment:

Oh, accept_error.patch causes issues with the new SSL implementation. 
SSLProtocol.feed_data() is called before SSLProtocol.connection_made() is 
called. _SelectorSocketTransport constructor calls loop.add_reader() 
immediatly, but it only schedules a call to protocol.connection_made() with 
loop.call_soon().

The call to loop.add_reader() should maybe be scheduled after the call to 
connection_made()? To ensure that protocol methods (feed_data) are not called 
before connection_made() has been called.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23333>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to