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-1750274 ] Errorbuffer not set on connection refused

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 09 Jul 2007 03:17:44 -0700

Bugs item #1750274, was opened at 2007-07-09 10:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1750274&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Colin Hogben (chogben)
Assigned to: Daniel Stenberg (bagder)
Summary: Errorbuffer not set on connection refused

Initial Comment:
Using libcurl 7.16.3 to perform a GET using multi socket interface. An error buffer has been configured on the easy handle with CURLOPT_ERRORBUFFER. The port as specified in the URL is not open, so the transfer should fail with 'connection refused'.

The message returned by curl_multi_info_read() has data.result set to CURLE_COULDNT_CONNECT but the errorbuffer is not set. I expect it to contain a human readable error message (as it does for other error conditions).

Looks like an omitted call to failf() - patch attached

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1750274&group_id=976
Received on 2007-07-09

These mail archives are generated by hypermail.

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

File upload with ASP.NET