|
Boost : |
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2022-03-24 16:26:59
On Thu, Mar 24, 2022 at 5:13 PM Alan de Freitas via Boost
<boost_at_[hidden]> wrote:
> We're deciding on the max size for URLs in our Boost.URL proposal. The spec
> doesn't suggest a limit but the reasonable trade-off
> <https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers>
> is:
>
> - 2^16 chars: More than all browsers, servers, and search engines support
> (~2000 chars). More than the HTTP minimum of 8000 octets.
> - 2^32 chars: "414 Too long request" in practice everywhere. Maybe supports
> experiments using URLs as a container for something else.
>
> Any suggestions?
This recent Fossil-SCM thread (about althttpd) might be relevant:
https://fossil-scm.org/forum/forumpost/7f445ff3679a8fd6
I think personally 8KB or 16KB is enough.
Your suggested 64KB is OK too, I guess.
But your 4GB proposal seems way too big.
I wouldn't go above 2^20 = 1MB myself, FWIW. --DD
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk