From 798f8fa56afad67358946e7ff1ec005050c146fb Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 15 Jan 2015 12:50:35 +0100 Subject: SSLProtocol: set the _transport attribute in the constructor --- asyncio/sslproto.py | 1 + 1 file changed, 1 insertion(+) diff --git a/asyncio/sslproto.py b/asyncio/sslproto.py index c7fb4e7..117dc56 100644 --- a/asyncio/sslproto.py +++ b/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. -- cgit v1.2.1