cURL / Mailing Lists / curl-library / Single Mail

curl-library

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