curl-library
ERRORBUFFER and curl_easy_strerror
From: Francesco Montorsi <f18m_cpp217828_at_yahoo.it>
Date: Tue, 17 Apr 2007 16:05:13 +0200
Date: Tue, 17 Apr 2007 16:05:13 +0200
Hi all,
if I try to do an invalid operation (e.g. uploading data to
www.google.it) 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...
E.g.:
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?
Thanks,
Francesco
Received on 2007-04-17