self._transport._force_close(exc)
def _finalize(self):
+ self._sslpipe = None
+
if self._transport is not None:
self._transport.close()
def _abort(self):
- if self._transport is not None:
- try:
+ try:
+ if self._transport is not None:
self._transport.abort()
- finally:
- self._finalize()
+ finally:
+ self._finalize()
Library
-------
+- bpo-29870: Fix ssl sockets leaks when connection is aborted in asyncio/ssl
+ implementation. Patch by Michaël Sghaïer.
+
- bpo-29743: Closing transport during handshake process leaks open socket.
Patch by Nikolay Kim