cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: 7.9.5-pre4 tests on OS X 10.1.2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 4 Mar 2002 16:35:02 +0100 (MET)

On Mon, 4 Mar 2002, jonatan wrote:

> i've narrowed the failing testcase 4 down to the following:
>
> [localhost:~/curl-7.9.5-pre4/tests] jonatan% ../src/curl --output
> log/curl4.out --include -v -H "Accept: replaced"
> http://127.0.0.1:8999/4
> OPTION: o log/curl4.out
> OPTION: i -v
> OPTION: v -H
> OPTION: H Accept:
> OPTION: 5 replaced
> OPTION: 5 http://127.0.0.1:8999/4
> * gethostbyname(2) failed for replaced
> * Closing connection #0
> curl: (6) Couldn't resolve host 'replaced'
> * Closing connection #0
> curl: (7) Couldn't connect to host
>
> (the OPTION stuff is because i changed line 990 in src/main.c to "#if 1").

Gosh. This seems to be a problem with how the -H argument is parsed. It seems
as if the double quotes don't work as they are supposed.

What if you replace the double quotes (") with single quotes (') in the
data/test4 file?

Thanks a lot for digging!

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET