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.

Issues with new cookie length limits

From: Chamberlin, David via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 6 Jun 2023 13:01:28 +0000

Hi,

I work for a large company which has long made grateful use of curl's features both as a command line tool and as a library.

Since curl 8, (I believe) a limit to the maximum size of the cookie header has been applied in curl. This has created issues when used with our intranet because of cookies automatically added by software over which we have little control.

We have patched the curl package (in cookie.h) that we build for internal consumption to raise this limit (MAX_COOKIE_HEADER_LEN) from 8kB to 32kB which fixes our internal issue.

Would the team be amenable to a pull request that adds an option to CMakeLists and/or configure to make this limit configurable at compile time?

We also picked up a bug in that code in that the length limit check seems to be calculated incorrectly - we can submit a pull request for that also.


- David


________________________________

Your Personal Data: We may collect and process information about you that may be subject to data protection laws. For more information about how we use and disclose your personal data, how we protect your information, our legal basis to use your information, your rights and who you can contact, please refer to: www.gs.com/privacy-notices<http://www.gs.com/privacy-notices>


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-06-06