curl-and-python

Re: Resolve host problem with proxy and SSL

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 22 Mar 2005 15:32:17 +0100 (CET)

On Tue, 22 Mar 2005, samg samg wrote:

> When i get a page from an internet site by a proxy,
> it's ok with the No-SSL version :
> debug(0): About to connect() to proxy port 8080
> debug(0): Trying x.x.x.x...
> debug(0): connected
> debug(0): Connected to proxy (x.x.x.x) port 8080
> debug(0): Proxy auth using Basic with user 'XXXXX'
> debug(2): GET
> http://www.python.org/pics/PyBanner049.gif HTTP/1.1
> debug(1): HTTP/1.1 200 OK
>
> But with the SSL version :
> debug(0): Could not resolve host: www.python.org
> (Domain name not found)
> debug(0): Closing connection #0
>
> What's the problem ? (I suspect c-ares)

Since it complains on "www.python.org" it indicates that you've failed to use
your proxy properly as I doubt you use www.python.org as your proxy. libcurl
should only need to resolve your proxy name.

Why do you suspect c-ares?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-03-22