cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL debug ?

From: Michael Wood <esiotrot_at_gmail.com>
Date: Mon, 25 Oct 2010 12:39:55 +0200

On 25 October 2010 11:03, Dung Nguyen <chong.xipam_at_gmail.com> wrote:
> I want to get the header out, so i try CURLOPT_DEBUGFUNCTION but the break
> point never goes to my_curl_debug_callback :(

Try these:

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTHEADER
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTHEADERFUNCTION
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTWRITEHEADER

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-25