• Joey Smith's avatar
    avformat/http: increase BUFFER_SIZE to MAX_URL_SIZE + HTTP_HEADERS_SIZE · d29c4297
    Joey Smith authored
    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.
    
    MAX_URL_SIZE is hard-coded to 4k bytes in libavformat/internal.h, and
    HTTP_HEADERS_SIZE is 4k as well in libavformat/http.h, so this patch increases
    the buffer size 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.
    Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
    d29c4297
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...