cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET