cURL / Mailing Lists / curl-library / Single Mail


Function Callback for Error Messages

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

Hi All,

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,
Received on 2007-11-20