1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

http: Increase max header value length to 512

This commit is contained in:
Giuseppe Scrivano 2013-11-02 11:53:18 +01:00
parent aed7d4163a
commit 38933de17c
2 changed files with 5 additions and 1 deletions

View 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) 2013-01-30 Pavel Mateja <pavel@netsafe.cz> (tiny change)
* http.c (gethttp): Specify "Host" for CONNECT method. * http.c (gethttp): Specify "Host" for CONNECT method.

View File

@ -1688,7 +1688,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
char *head; char *head;
struct response *resp; struct response *resp;
char hdrval[256]; char hdrval[512];
char *message; char *message;
/* Declare WARC variables. */ /* Declare WARC variables. */