summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-15 12:50:35 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-15 12:50:35 +0100
commit798f8fa56afad67358946e7ff1ec005050c146fb (patch)
treec825f24ef24a79083421b35959a77436c33dd6c7
parentc353d7558327de461cdd4a2cc73dbd9d6ad6698a (diff)
downloadtrollius-798f8fa56afad67358946e7ff1ec005050c146fb.tar.gz
SSLProtocol: set the _transport attribute in the constructor
-rw-r--r--asyncio/sslproto.py1
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.