cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems with file://

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Sep 2000 15:45:51 +0200 (MET DST)

On Wed, 13 Sep 2000, Domenico Andreoli wrote:

> [dom_at_grullo ~]$ curl --version
> curl 7.2 (i586-pc-linux-gnu) libcurl 7.2.1 (SSL 0.9.4)
>
> *** exited: 2
> [dom_at_grullo ~]$ curl file://home/dom/incoming_done.html
> curl: (6) Couldn't resolv host ''

Yes, it accidentally continues to the name resolver after it detected that it
was file://. The name resolver then looks up a zero-length name...

> btw, note that curl says to be version 7.2, even if gets out from the
> 7.2.1 source tree. is it correct?

The 7.2.1 package includes curl 7.2. They're not always in synch and I
(usually) don't change the curl version number if it isn't changed. If I do
change it, I usually set the same version number to curl as libcurl is using
to avoid too much confusion.

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2000-09-13