http: Increase buffer sizes to cope with longer URIs
authorDuncan Salerno <duncan.salerno@gmail.com>
Sat, 22 Sep 2012 20:17:36 +0000 (21:17 +0100)
committerMartin Storsjö <martin@martin.st>
Thu, 27 Sep 2012 21:09:38 +0000 (00:09 +0300)
commit8bd324e9e4b8ceb4d0fff7ebe3c56372949be759
tree46fb04da8018bf53b89e52738690a9b366ae7ed0
parentbc66827fb1db24796cd1898f4e7dd7407a8c0aca
http: Increase buffer sizes to cope with longer URIs

Use the MAX_URL_SIZE define where applicable. Increase buffer
sizes for all buffers that need to fit a long pathname - buffers
that need to fit only the hostname (and other short strings, but
not the pathname - such as "headers" in http_connect) are kept
at 1024 bytes for now.

Also increase the max line length in http_read_header, since it
might need to contain a full url for Location: redirects.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/http.c