cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_info_read

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 16 Jan 2003 14:12:52 +0100 (MET)

On Thu, 16 Jan 2003, [ISO-8859-2] Petr J?za wrote:

> I use multi interface for uploading the files and I want to know if any
> error occured during execution. I use curl_multi_info_read function which
> return me easy handle and return code (CURLcode). But I would like to gain
> human readable error string such as CURLOPT_ERRORBUFFER in single
> interface. Is there any possibility?

CURLOPT_ERRORBUFFER works perfecly fine, even when you use the multi
interface. Just point it to your buffer and when an error occurs for a
particular easy handle, check the buffer...

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
Received on 2003-01-16