From 0423915e24d1c7622b3d3074ba44c886e1f364b0 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Sat, 18 May 2024 14:13:44 +1200 Subject: [PATCH] fix --- test/test_http_proxy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_http_proxy.py b/test/test_http_proxy.py index e5b41ce88..6e56a18df 100644 --- a/test/test_http_proxy.py +++ b/test/test_http_proxy.py @@ -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