cleanup after merge

This commit is contained in:
coletdjnz 2024-11-24 11:09:54 +13:00
parent 785395af8c
commit 93919fdd47
No known key found for this signature in database
GPG Key ID: 91984263BB39894A
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ class SocksWebSocketTestRequestHandler(SocksTestRequestHandler):
def socks_server(socks_server_class, request_handler, bind_ip=None, **socks_server_kwargs):
server = server_thread = None
try:
bind_address = bind_ip or '127.0.0.69'
bind_address = bind_ip or '127.0.0.1'
server_type = ThreadingTCPServer if '.' in bind_address else IPv6ThreadingTCPServer
server = server_type(
(bind_address, 0), functools.partial(socks_server_class, request_handler, socks_server_kwargs))