mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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._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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue