cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL debug ?

From: Dung Nguyen <chong.xipam_at_gmail.com>
Date: Tue, 26 Oct 2010 10:03:39 +0700

Thanks! I work now :)

2010/10/25 Linus Nielsen Feltzing <linus_at_haxx.se>

> 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
>

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