Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Cookie storage customization?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 14 Sep 2021 14:31:49 -0700
On Tue, Sep 14, 2021 at 09:40:34PM +0200, Isaac Jurado via curl-library wrote:
> I'm aware that the cookie jar is not mandatory and custom cookie storage could
> be implemented with ease. However, some certain amount of logic, that libcurl
> already provides, would have to be replicated. Mainly cookie parsing/filtering
> and redirections.
Does it not work to simply activate the libcurl cookie engine then use
CURLOPT_COOKIELIST and CURLINFO_COOKIELIST to restore and save the cookies into
a custom storage format? What logic would need to be duplicated? Or, are you
just talking about parsing the cookie line?
Dan
Date: Tue, 14 Sep 2021 14:31:49 -0700
On Tue, Sep 14, 2021 at 09:40:34PM +0200, Isaac Jurado via curl-library wrote:
> I'm aware that the cookie jar is not mandatory and custom cookie storage could
> be implemented with ease. However, some certain amount of logic, that libcurl
> already provides, would have to be replicated. Mainly cookie parsing/filtering
> and redirections.
Does it not work to simply activate the libcurl cookie engine then use
CURLOPT_COOKIELIST and CURLINFO_COOKIELIST to restore and save the cookies into
a custom storage format? What logic would need to be duplicated? Or, are you
just talking about parsing the cookie line?
Dan
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-09-14