1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00
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'' # Websockets does not treat 0 as an EOF, rather only b''
return b'' return b''
return res return res
def getsockname(self):
return self.socket.getsockname()
else: else:
SSLTransport = None SSLTransport = None