STINNER Victor added the comment: > Some ResourceWarning are still emited on SSL server tests.
Attached server_close.patch is a work-in-process patch to fix this issue on Linux. If I understood correctly, there are two issues: - SelectorEventLoop._accept_connection() doesn't care of the creation of the transport failed - SSLProtocol.eof_received() does not notify the waiter that EOF was received So an application cannot control SSL incoming connections which fail during the handshake? Control: log errors, do something with the socket, etc. See also the STARTTLS feature request: https://code.google.com/p/tulip/issues/detail?id=79 ---------- Added file: http://bugs.python.org/file37720/server_close.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23243> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com