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: Mon, 25 Oct 2010 14:25:50 +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: Closed
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: George R. Goffe (grgoffe)
Date: 2010-10-25 08:01

Message:
Howdy,

Oops. I must apologize. This is all my fault. I've been having some
serious networking problems and have had to use "-c" in wget and goofed by
using "-c" instead of '-C' for curl.

Sorry to have bothered you with this one.

Regards and THANKS for your response.

George...

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

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-25

These mail archives are generated by hypermail.

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

File upload with ASP.NET