]> sjero.net Git - wget/commitdiff
http: Increase max header value length to 512
authorGiuseppe Scrivano <gscrivan@redhat.com>
Sat, 2 Nov 2013 10:53:18 +0000 (11:53 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Sat, 2 Nov 2013 10:53:18 +0000 (11:53 +0100)
src/ChangeLog
src/http.c

index 68e0f86773f62fdf9db320bb95cace0c535b4fa2..42ce3e40ca1145c6bbdf0c327dd98cb2fffaf681 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-02  Giuseppe Scrivano  <gscrivan@redhat.com>
+
+       * http.c (gethttp): Increase max header value length to 512.
+
 2013-01-30  Pavel Mateja  <pavel@netsafe.cz> (tiny change)
 
        * http.c (gethttp): Specify "Host" for CONNECT method.
index 8917fa558bd2f9183222858681d9b3d92c73529b..754b7eca07a52f5dca0a9d4faf2d3a21d5353497 100644 (file)
@@ -1688,7 +1688,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
 
   char *head;
   struct response *resp;
-  char hdrval[256];
+  char hdrval[512];
   char *message;
 
   /* Declare WARC variables. */