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: Issue with MAX_COOKIE_HEADER_LEN

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 17 May 2023 15:55:47 +0200 (CEST)

On Wed, 17 May 2023, Benjamin Herrenschmidt wrote:

> In the general case, yes. That said, it could very well be that curl (or
> libcurl) is used in specific cases (private API gateways etc...) where the
> interoperability isn't a factor.
>
> At this point I don't have enough data about the specific customer use case.
> But I can imagine some that don't necessarily involve general purpose
> components (web browser etc...).

Right, or they ran into this limit first so they never got around to do the
second (browser) test ... :-)

> ... propose a reasonable value that works for them.

Beyond 8K something HTTP servers are going to cause problems with their
maximum header line lengths and then it becomes even harder to interop.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-05-17