Comment 6 for bug 186920

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 186920] Re: bzr launchpad does not handle proxy when used for name resolution

On Thu, 2008-05-22 at 14:59 +0000, John A Meinel wrote:
> We are using the standard system calls for resolving host names. So we
> would need something like this to work:
>
> python -c "import socket; socket.gethostbyname('www.google.com')"
>
> I would assume that this would be some sort of machine configuration,
> not something that we would handle specially in our program.

The thing is, with http proxies you do not need local DNS to work. So we
shouldn't try to resolve names when using an http proxy.

-Rob

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.