mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 22:17:07 +01:00
fix
This commit is contained in:
parent
4b3fd5f833
commit
a0ca9dc2e4
@ -4,7 +4,6 @@
|
||||
import functools
|
||||
import json
|
||||
import os
|
||||
import platform
|
||||
import random
|
||||
import ssl
|
||||
import threading
|
||||
@ -241,9 +240,11 @@ def proxy_server(proxy_server_class, request_handler, bind_ip=None, **proxy_serv
|
||||
yield f'{bind_address}:{server_port}'
|
||||
finally:
|
||||
server.shutdown()
|
||||
server.server_close()
|
||||
server_thread.join()
|
||||
|
||||
|
||||
|
||||
class HTTPProxyTestContext(abc.ABC):
|
||||
REQUEST_HANDLER_CLASS = None
|
||||
REQUEST_PROTO = None
|
||||
|
Loading…
Reference in New Issue
Block a user