On Wed, 14 Mar 2012 22:17:15 +0100 (CET), Daniel Stenberg
<[email protected]> wrote:
> On Wed, 14 Mar 2012, Jeff Pratt wrote:
> 
>>    cresult = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
>>    curl_slist_free_all(headers); /* free custom header list */
> 
> CURLOPT_HTTPHEADER will _not_ copy the list you pass in, so you
> better let it linger around until after you've called
> curl_easy_perform()...

Ahhhhhaaaaaaaa!
Yes -- that seems to have done the trick!
Thank You!

JcP


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to