curl-library
Re: ERRORBUFFER and curl_easy_strerror
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Apr 2007 21:47:38 +0200 (CEST)
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 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...
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: http://haxx.se/curl.htmlReceived on 2007-04-17