cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL debug ?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Mon, 25 Oct 2010 11:08:40 +0200

On 2010-10-25 11:03, Dung Nguyen wrote:
> I want to get the header out, so i try CURLOPT_DEBUGFUNCTION but the
> break point never goes to my_curl_debug_callback :(
> What wrong with my code ?

You also need to set CURLOPT_VERBOSE to 1 to enable the debug output:

curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);

Linus
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-25