cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-3090256 ] curl: (7) Failed to connect to 0.0.0.10: Invalid argument

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sat, 23 Oct 2010 19:07:32 +0000

Bugs item #3090256, was opened at 2010-10-19 08:42
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3090256&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: wrong behaviour
>Status: Pending
Resolution: Invalid
Priority: 5
Private: No
Submitted By: George R. Goffe (grgoffe)
Assigned to: Daniel Stenberg (bagder)
Summary: curl: (7) Failed to connect to 0.0.0.10: Invalid argument

Initial Comment:
Howdy,

This problem seems to have appeared recently and only seems to appear when adding the -c option.

Here's my current curl information:

curl -V
curl 7.21.3-DEV (i686-pc-linux-gnu) libcurl/7.21.3-DEV OpenSSL/1.0.0 zlib/1.2.3 libidn/1.9
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: Debug TrackMemory IDN IPv6 Largefile NTLM SSL libz

No error message appears:

shooter bash-4.0 /tools/curl# curl -m 10 --retry 9999999 --retry-delay 0 ftp.x.org
-rw-r--r-- 1 ftp ftp 3075 Oct 7 1998 GettingBroadway
-rw-r--r-- 1 ftp ftp 3075 Oct 7 1998 GettingR6.3
-rw-r--r-- 1 ftp ftp 1847 Feb 1 1999 GettingR6.4

Error msg appears:

shooter bash-4.0 /tools/curl# curl -c -m 10 --retry 9999999 --retry-delay 0 ftp.x.org
curl: (7) Failed to connect to 0.0.0.10: Invalid argument
-rw-r--r-- 1 ftp ftp 3075 Oct 7 1998 GettingBroadway
-rw-r--r-- 1 ftp ftp 3075 Oct 7 1998 GettingR6.3
-rw-r--r-- 1 ftp ftp 1847 Feb 1 1999 GettingR6.4

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2010-10-19 14:38

Message:
-c takes another parameter (as file name to store cookies in) which you say
is '-m'. The following paremeter is then '10' which curl then considers to
be 0.0.0.10 which isn't a really good IP.

Possibly curl should reject such a "silly" IP address, but it is being
very liberal in what it accepts on purpose.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3090256&group_id=976
Received on 2010-10-23

These mail archives are generated by hypermail.

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

File upload with ASP.NET