From: Victor Stinner Date: Thu, 15 Jan 2015 12:16:27 +0000 (+0100) Subject: SSLProtocol: set the _transport attribute in the constructor X-Git-Tag: v3.4.3rc1~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e222f411cda575c336eaabbc4aa4d5b8addab89;p=python SSLProtocol: set the _transport attribute in the constructor --- diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py index c7fb4e7c60..117dc565b6 100644 --- a/Lib/asyncio/sslproto.py +++ b/Lib/asyncio/sslproto.py @@ -417,6 +417,7 @@ class SSLProtocol(protocols.Protocol): self._session_established = False self._in_handshake = False self._in_shutdown = False + self._transport = None def connection_made(self, transport): """Called when the low-level connection is made.