curl / Mailing Lists / curl-library / Single Mail
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?

From: Daniel Stenberg via curl-library <>
Date: Fri, 24 Sep 2021 08:29:30 +0200 (CEST)

On Wed, 22 Sep 2021, Isaac Jurado wrote:

> If someone submits a contribution to add callbacks that allow replacing the
> internal cookie store/retrieve functionality, what are the chances of such
> feature being accepted?

If done carefully and correctly, I would say that the chances are good. But
I'm not saying this is entirely easy.

I think the biggest problem with this approach is that you basically end up
side-stepping libcurl's cookie logic completely and then the application will
be responsible for almost the entire cookie logic. This is very error-prone
since cookie handling is very complicated and it risks ending up with end
users not quite understanding who owns the problem and application authors
creating broken applications and blaming curl for it...

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2021-09-24