curl-users
Curl build successes and bugs
Date: Tue, 15 Aug 2000 12:41:46 -0400
I successfully built both curl 6.5.2 and curl 7.1 with openssl-0.9.5a on
these
platforms:
Red Hat Linux 6.2 with included gcc
HP-UX 10.20 with gcc 2.95.2
I am finding this bug on both platforms using curl 6.5.2 or curl 7.1:
When I am getting multiple URLs using one invocation of curl, the data
written out
by the -w option has the %{variables} truncated for the second and all
subsequent URLs.
Note that the data returned from the server by the GET is written
correctly for
all URLs. The -w option is processed correctly for the first URL. For
the second
and subsequent URLs, the -w data is written up to the first "}" in the
format.
For example, "-w 'lookup: %{time_namelookup} seconds' is output as:
lookup: %{time_namelookup
The variable is not replaced with its value and all text following the
"}", including
the "}" is truncated.
I am finding another bug on HP-UX (works OK on Linux) using curl 7.1 (OK
on 6.5.2):
On a system where DNS is used for host name resolution, the command
line:
curl http://xx.yy.zz.com/
results in the error message:
curl: (6) Couldn't resolv host 'xx.yy.zz.com'
Note that xx.yy.zz.com can be resolved by ping, nslookup, and curl
6.5.2. Using the
IP address in place of the name works correctly.
- Fred Noz
Received on 2000-08-15