STINNER Victor added the comment: FYI I opened a thread about this issue on the Tulip mailing list.
Antoine Pitrou added the comment: > IMO, connection_lost() should never be called if connection_made() wasn't > called. That's a breach of the API contract. Yes, I agree. > (at one point, I suggested a connection_failed() for that purpose, but it was > shut down - it was in relationship to the idea of a reconnecting client, but > can still be more broadly useful) I like the "connection_failed" name. We may call protocol.connection_failed(transport), so the protocol gets access to the socket and so to the IP addres. ---------- _______________________________________ 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