curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. 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 Daniel himself.

Re: Limit the URL size more?

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 15 Dec 2025 00:33:28 +0100 (CET)

On Sun, 14 Dec 2025, Dimitry Andric via curl-library wrote:

> Obviously, there is a limit to how large an MP4 you can send with it, and
> for anything larger you must use POST or PUT, but there is still something
> to be said for being able to choose a limit (preferably at run time) that
> makes sense for your particular use case.

It seems rather ineffective to base64 it just to be able to put it in the URL!

I really want us to avoid adding an option for this. We already have too many
options. We need docs, tests and more to maintain every option and every
option adds to the haystack in which users needs to find their needles when
they look for specific options.

> E.g., we usually also configured Apache with "LimitRequestLine 100000000",

Wow.

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-12-15