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

Errors without description (CURLOPT_ERRORBUFFER)

From: Andreas Rieke <andreas.rieke_at_isl.de>
Date: Fri, 17 Sep 2004 18:22:24 +0200

Hi,

in the (old) 7.12.0 libcurl, one could pass a buffer to cURL using the
CURLOPT_ERRORBUFFER option and if a problem occurs for example while
calling curl_easy_perform, the buffer contains a description afterwards.
For example, if a connect did not succeed, this version returned a
string "Connect failed; Operation now in progress".

In the new version 7.12.1, libcurl returns errors only in certain cases:
For the unsuccessful connect, an empty string is returned, whereas for a
dns resolve error, an appropriate message is returned.

Did anyone else see this behaviour? I am using libcurl with
openssl-0.9.7d on linux (Redhat and Suse) and windows (2000 and XP) to
access secure web servers (SSL). Is this a bug or a feature? Is there
any workaround exept from going back to 7.12.0?

Thanks in advance,

Andreas
Received on 2004-09-17

These mail archives are generated by hypermail.

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

File upload with ASP.NET