[FFmpeg-devel] [PATCH] libavformat: increase MAX_URL_SIZE
Anton Khirnov
anton at khirnov.net
Wed Nov 8 17:32:44 EET 2023
Quoting WooDzu (2023-10-28 15:04:38)
> With the rise of object storage, like S3, it is not uncommon to generate
> long pre-signed URLs. When a pre-signed URL is generated using a
> short-lived credentials it may include a query parameter called
> X-Amz-Security-Token that is 4kB on its own.
> The current MAX_URL_SIZE will trim the URL with no any errors or
> warnings and the request will fail with a http 400 error.
Why do we have a static limit in the first place? Wouldn't it be better
to make the relevant strings dynamically allocated?
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list