mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
SSLProtocol: set the _transport attribute in the constructor
This commit is contained in:
parent
791009bb89
commit
7e222f411c
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue