This commit is contained in:
coletdjnz 2024-05-18 14:13:44 +12:00
parent f5cfe9e00a
commit 0423915e24
No known key found for this signature in database
GPG Key ID: 91984263BB39894A

View File

@ -130,6 +130,9 @@ def _wrap_ssl_read(self, *args, **kwargs):
# Websockets does not treat 0 as an EOF, rather only b''
return b''
return res
def getsockname(self):
return self.socket.getsockname()
else:
SSLTransport = None