cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_WRITEDATA not passed to CURLOPT_HEADERFUNCTION?

From: Dave Weis <djweis_at_sjdjweis.com>
Date: 16 Jan 2003 09:13:01 -0600

I'm writing a C program that uses libcurl 7.9.7 and it seems like data
that I set with CURLOPT_WRITEDATA isn't being passed to my header
function in the fourth argument, it's coming in as null. I haven't
checked in the body function because I need data from the headers before
I can parse the body.

I had been using a global variable before but need to make my program
multithreaded.

Any ideas? I'm not on the list so please cc me on replies.

dave

-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
Received on 2003-01-16