mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
does this resolve unclosed socket?
This commit is contained in:
parent
3350bdeb87
commit
018acbb93c
1 changed files with 1 additions and 0 deletions
|
@ -341,4 +341,5 @@ def create_http_connect_connection(
|
|||
return conn.sock
|
||||
else:
|
||||
conn.close()
|
||||
response.close()
|
||||
raise ProxyError(f'Got HTTP Error {response.status} with CONNECT: {response.reason}')
|
||||
|
|
Loading…
Reference in a new issue