cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Debugging problem

From: Michael Hecker <Hecker.Michael_at_gmx.de>
Date: Thu, 06 Dec 2007 21:23:38 +0100

Hey,
sorry! I forgot to change the topic.

To the problem:
I found several examples for CURLOPT_DEBUGFUNCTION but all wrote the
data directly on the screen via fprintf.
I want to write the data to a string or CString to parse the data. How
can I do that?

Thanks,
Michael

Daniel Stenberg schrieb:
> On Wed, 5 Dec 2007, Michael Hecker wrote:
>
> (Please don't hijack threads by replying to something else and change
> subject, start a new thread with a new mail.)
>
>> I want to write all the data curl normally prints into the console in
>> a variable to parse it later on.
>> I need all the data like (Connecting ... leaving Connection intact.
>> Reusing Connection and so on)
>>
>> How can I do that?
>
> CURLOPT_DEBUGFUNCTION is your friend.
>
Received on 2007-12-06