curl_getinfo( ..., CURLINFO_COOKIELIST, ...) returns the cookie list as a "struct curl_list *", and curl_easy_setopt( ..., CURLOPT_COOKIELIST, ... ) takes the cookie list as a string. It would be nice if there was a set functions that took cookies in the same format as delivered by a 'get' function, removing the need for extra processing by the application.
My application needs to free the curl easy handle between transactions, because it uses too much memory for many concurrent transactions. Therefore I need to save and restore the cookies.
I've assigned this to claes, as he's working on this already!