1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-01-18 23:03:05 +01:00

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

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))