STINNER Victor added the comment: I splitted connection_failed.patch in two parts:
- connection_failed-2.patch: add Protocol.connection_failed() and call when the creation of a transport failed because connection_made() was called - accept_connection_failed.patch: Fix BaseSelectorEventLoop._accept_conncetion(). On error, call connection_failed() and then close the transport. ---------- Added file: http://bugs.python.org/file37903/connection_failed-2.patch _______________________________________ 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