force rdns for proxy (#331)

This commit is contained in:
Damien Elmes 2013-01-15 07:30:49 +09:00
parent ce2581269b
commit f5028c2573

View File

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