cURL / Mailing Lists / curl-users / Single Mail

curl-users

gethostbyname_r(2)

From: Zvi Har'El <rl_at_math.technion.ac.il>
Date: Wed, 16 Oct 2002 13:02:53 +0200

Hi,

I have installed curl-7.10.1 on RedHat 8.0 machine. First, I would like to
thank Daniel for including my fix for identifying the engine version of ssl
correctly. Second, I have a problem: When using curl without a proxy, it fails
to reolve the site address:

~$ curl --version
curl 7.10.1 (i686-pc-linux-gnu) libcurl/7.10.1 OpenSSL/0.9.6g zlib/1.1.4
~$ curl -I http://www.google.com
* Couldn't resolve host 'www.google.com'curl: (6) Couldn't resolve host
* 'www.google.com'
~$ export http_proxy=http://proxy:8080/
~$ curl -I http://www.google.com
HTTP/1.0 302 Moved Temporarily
Date: Wed, 16 Oct 2002 11:01:14 GMT
Content-Length: 154
Content-Type: text/html
Server: GWS/2.0
Set-Cookie:
PREF=ID=4c626b000757d276:TM=1034766074:LM=1034766074:S=-tua3Ugb27W0nC5g;
expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Location: http://www.google.co.il/
Via: 1.1 colosus3 (NetCache NetApp/5.3.1D1)
X-Cache: MISS from proxy.math.technion.ac.il
Proxy-Connection: keep-alive

Do you have an idea? Might it be a problem of the new gcc or its libraries?

-- 
Dr. Zvi Har'El     mailto:rl_at_math.technion.ac.il     Department of Mathematics
tel:+972-54-227607                   Technion - Israel Institute of Technology
fax:+972-4-8324654 http://www.math.technion.ac.il/~rl/     Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
                          Wednesday, 10 Heshvan 5763, 16 October 2002, 12:54PM
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
Received on 2002-10-16