cURL / Mailing Lists / curl-library / Single Mail

curl-library

Function Callback for Error Messages

From: Naiem Shaik <naiem.shaik_at_gmail.com>
Date: Tue, 20 Nov 2007 14:30:28 +0530

Hi All,
Greetings,

Curl provides an option of calling curl_easy_setopt with
CURLOPT_ERRORBUFFER for providing error messages if any, but is there
any callback I can register that would be called when error occurs.
Because currently by registering with CURLOPT_ERRORBUFFER, I am not
sure when CURL would write error message into it.

Best Regards,
Naiem
Received on 2007-11-20