mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
force rdns for proxy (#331)
This commit is contained in:
parent
ce2581269b
commit
f5028c2573
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ def _setupProxy():
|
|||
url = r['http']
|
||||
if url:
|
||||
p = _proxy_info_from_url(url, _proxyMethod(url))
|
||||
if p:
|
||||
p.proxy_rdns = True
|
||||
HTTP_PROXY = p
|
||||
|
||||
def _proxyMethod(url):
|
||||
|
|
Loading…
Reference in a new issue