Uniform Proxy Settings

James Antill james at fedoraproject.org
Mon Oct 6 15:22:53 UTC 2008


On Mon, 2008-10-06 at 17:06 +0200, Gerd Hoffmann wrote:
> James Antill wrote:
> > On Mon, 2008-10-06 at 14:33 +0200, Gerd Hoffmann wrote:
> >> seth vidal wrote:
> >>> The original complaint here is that the gnome proxy setting doesn't seem
> >>> to set this as well.
> >>>
> >>> B/c yum does follow http_proxy env variable.
> >> It ignores no_proxy though ...
> > 
> >  Actually, it doesn't, it's just that the API for
> > urlgrabber/urilib2/etc. only have "no proxy configured" ... not "no
> > proxy desired" options.
> >  In theory we could also unset os.environ, but it should just be fixed
> > when we move to curl
> 
> unset doesn't cut it.  no_proxy isn't about disabling proxying
> altogether, but about disabling the proxy for certain domains.
> 
> Usually you stick there "localhost,$localdomain".  I also have
> redhat.com listed there.  The box running squid has no vpn access to the
> internal network, thus internal repos are not accessible via proxy ...

 Ahh, right ... that no_proxy support (called ignore_hosts in GNOME).
Yeh, as Seth said, open a BZ against python-urlgrabber (but it'll have
to wait until the above fix is there, obviously).

-- 
James Antill <james at fedoraproject.org>
Fedora




More information about the devel mailing list