cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: --ftp-port bug with unresolvable names?

From: <jon.turner_at_thomson.com>
Date: Thu, 19 Jan 2006 09:33:54 -0000

Libcurl 7.15.1, running on WindowsXP. I try and get some information
about this later when I have time.

C:\Documents and Settings\Jon>curl -V
curl 7.12.0 (i386-pc-win32) libcurl/7.12.0 OpenSSL/0.9.7c zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: NTLM SSL libz

C:\Documents and Settings\Jon>curl ftp://turnerj > out
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
100 2564 0 2564 0 0 10910 0 --:--:-- --:--:-- --:--:--
0

C:\Documents and Settings\Jon>curl -P turnerj2 ftp://turnerj > out
  % Total % Received % Xferd Average Speed Time Time Time
Current
                                 Dload Upload Total Spent Left
Speed
100 2564 0 2564 0 0 16331 0 --:--:-- --:--:-- --:--:--
0

C:\Documents and Settings\Jon>curl -P idontexist ftp://turnerj > out
Program crashes.

 

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: 19 January 2006 09:23
To: libcurl development
Subject: Re: --ftp-port bug with unresolvable names?

On Thu, 19 Jan 2006, jon.turner_at_thomson.com wrote:

> I was playing with --ftp-port the other day and I think I've found a
bug.
> When I pass in a name as opposed to a IP address, if the name doesn't
> resolve then my program will crash on cleanup, or when making another
> request (latest libcurl). This appears to be a problem for curl.exe
> too, and should be fairly easy to replicate.

What libcurl version? IPv6 enabled/disabled? On what operating system?

And no, I didn't manage to repeat it when I tried it just now.

--
  Commercial curl and libcurl Technical Support:
http://haxx.se/curl.html
Received on 2006-01-19