cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: no_proxy is being ignored

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 Jan 2007 00:04:48 +0100 (CET)

On Thu, 4 Jan 2007, Robert Foreman wrote:

> However, I've encountered another problem with the http_proxy environment
> variable.
>
> Usually, I have http_proxy=http://www-cache:80 and this works without
> problems with all versions up to 7.16.1-20061222. With curl version
> 7.16.1-20061226 (and all later builds), I just get the error message
>
> curl: (7) couldn't connect to host
>
> If I change the environment variable so it includes the complete domain name
> then curl works again with all versions.

Your work-around seems to indicate that it would be a name resolving problem,
but "couldn't connect to host" is an error message from libcurl failing to
connect to a server...

And I can't see how any of my fixes between those two dates could have that
impact!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-01-05