cURL / Mailing Lists / curl-library / Single Mail


ERRORBUFFER and curl_easy_strerror

From: Francesco Montorsi <>
Date: Tue, 17 Apr 2007 16:05:13 +0200

Hi all,
   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...


curl_easy_strerror says "failed sending data to the peer"
inside the ERRORBUFFER: "select/poll returned error"

is this ok?

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

Received on 2007-04-17