Some real-world sites use an authorization header with a bearer token; when combined with lengthy request parameters to identify the video segment, it's rather trivial these days to have a request body of more than 4k bytes.
Because MAX_URL_SIZE is hard-coded to 4k bytes in libavformat/internal.h, this causes ffmpeg to terminate the connection early, even though the HTTP request is otherwise perfectly valid. I am proposing the attached patch, to switch this hard-coded to default from 4k to 8k, as that is the default request body limit in Apache, and most other httpds seem to support at least as much, if not more.
0001-libavformat-internal.h-Adjust-MAX_URL_SIZE-to-8k.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".