SSLProtocol: set the _transport attribute in the constructor

This commit is contained in:
Victor Stinner 2015-01-15 13:16:27 +01:00
parent 791009bb89
commit 7e222f411c
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ class SSLProtocol(protocols.Protocol):
self._session_established = False self._session_established = False
self._in_handshake = False self._in_handshake = False
self._in_shutdown = False self._in_shutdown = False
self._transport = None
def connection_made(self, transport): def connection_made(self, transport):
"""Called when the low-level connection is made. """Called when the low-level connection is made.