cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

why these error messages?

From: Mohun Biswas <m_biswas_at_mailinator.com>
Date: Sun, 18 Jul 2004 13:23:56 -0400

When a URL describes a port with nothing listening on it, the error
message returned via libcurl is non-obvious:

% curl 'http://mailhost:8000/some/url'
curl: (7) Connect failed; Operation now in progress

What operation? And nothing's in progress at this point; it's failed and
is not retrying. BTW, the behavior is somewhat different for localhost:

% curl 'http://localhost:8000/some/url'
curl: (7) Failed to connect to localhost IP number 1: Connection refused

This makes more sense except for the "IP number 1".

% curl --version
curl 7.12.0 (sparc-sun-solaris2.9) libcurl/7.12.0 zlib/1.2.1
Protocols: http
Features: Largefile libz

Thanks,
Mohun Biswas
Received on 2004-07-18

These mail archives are generated by hypermail.

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

File upload with ASP.NET