From e5eedf3e09f548504062da31a34a162d7766407c Mon Sep 17 00:00:00 2001 From: vfilanovsky Date: Fri, 4 Mar 2016 00:07:15 -0800 Subject: [PATCH] Support for URLs longer than 4096 characters --- src/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http.c b/src/http.c index dc78a90..c1b7902 100644 --- a/src/http.c +++ b/src/http.c @@ -118,7 +118,7 @@ http_get(CONN *C, URL U) char encoding[512]; char *request; char portstr[16]; - char fullpath[4096]; + char fullpath[8192]; char cookie[MAX_COOKIE_SIZE+8]; char * ifnon = NULL; char * ifmod = NULL; @@ -281,7 +281,7 @@ http_post(CONN *C, URL U) char protocol[16]; char keepalive[16]; char cookie[MAX_COOKIE_SIZE]; - char fullpath[4096]; + char fullpath[8192]; memset(hoststr, '\0', sizeof(hoststr)); memset(cookie, '\0', MAX_COOKIE_SIZE);