cURL / Mailing Lists / curl-library / Single Mail


Re: ERRORBUFFER and curl_easy_strerror

From: Daniel Stenberg <>
Date: Tue, 17 Apr 2007 21:47:38 +0200 (CEST)

On Tue, 17 Apr 2007, Francesco Montorsi wrote:

> if I try to do an invalid operation (e.g. uploading data to
> with a libcurl handle where I set on the CURLOPT_ERRORBUFFER option, the
> error message I get out from that buffer is different from the error message
> which I get using curl_easy_strerror on the error code returned by
> curl_easy_perform...

Yes, what would be the point of having both otherwise?

> Also, are the ERRORBUFFER contents always more detailed than the
> curl_easy_strerror's returned string?

Not always, but sometimes or perhaps mostly.

  Commercial curl and libcurl Technical Support:
Received on 2007-04-17