Commit 0a8cc117 authored by Duncan Salerno's avatar Duncan Salerno Committed by Michael Niedermayer

http: larger buffer for long URIs

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 641c0eea
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment