force rdns for proxy (#331)
This commit is contained in:
parent
ce2581269b
commit
f5028c2573
@ -67,6 +67,8 @@ def _setupProxy():
|
|||||||
url = r['http']
|
url = r['http']
|
||||||
if url:
|
if url:
|
||||||
p = _proxy_info_from_url(url, _proxyMethod(url))
|
p = _proxy_info_from_url(url, _proxyMethod(url))
|
||||||
|
if p:
|
||||||
|
p.proxy_rdns = True
|
||||||
HTTP_PROXY = p
|
HTTP_PROXY = p
|
||||||
|
|
||||||
def _proxyMethod(url):
|
def _proxyMethod(url):
|
||||||
|
Loading…
Reference in New Issue
Block a user