diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-15 12:50:35 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-15 12:50:35 +0100 |
commit | 798f8fa56afad67358946e7ff1ec005050c146fb (patch) | |
tree | c825f24ef24a79083421b35959a77436c33dd6c7 /asyncio | |
parent | c353d7558327de461cdd4a2cc73dbd9d6ad6698a (diff) | |
download | trollius-798f8fa56afad67358946e7ff1ec005050c146fb.tar.gz |
SSLProtocol: set the _transport attribute in the constructor
Diffstat (limited to 'asyncio')
-rw-r--r-- | asyncio/sslproto.py | 1 |
1 files changed, 1 insertions, 0 deletions
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. |