cURL / Mailing Lists / curl-library / Single Mail


Errors without description (CURLOPT_ERRORBUFFER)

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


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,

Received on 2004-09-17