[Yum-devel] [PATCH] honor proxy=_none_ again. BZ 814224

Zdenek Pavlas zpavlas at redhat.com
Fri Apr 20 06:47:25 UTC 2012

>  ACK. AIUI setting proxy to '' now means that this disables the proxy
> support for older urlgrabber (using curl) versions too, or no?

I'd say so.  The old urlgrabber code is:

        if opts.proxies:  (yes, dict is non-empty)
            for (scheme, proxy) in opts.proxies.items():
                ... (does not check/ignore proxy=="")
                if proxy == '_none_': proxy = "" (added in commit 678bd872, now obsolete)
                self.curl_obj.setopt(pycurl.PROXY, proxy)

More information about the Yum-devel mailing list