1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

http: larger buffer for long URIs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Duncan Salerno 2012-09-22 21:17:36 +01:00 committed by Michael Niedermayer
parent 641c0eea0b
commit 0a8cc1179a

View File

@ -33,7 +33,7 @@
only a subset of it. */
/* used for protocol handling */
#define BUFFER_SIZE 1024
#define BUFFER_SIZE 4096
#define MAX_REDIRECTS 8
typedef struct {
@ -380,7 +380,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_path,
{
HTTPContext *s = h->priv_data;
int post, err;
char headers[1024] = "";
char headers[4096] = "";
char *authstr = NULL, *proxyauthstr = NULL;
int64_t off = s->off;
int len = 0;