From cfd81b03f049c98f239e960f1903d4d3acef04bf Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 12 Feb 2012 13:43:34 +0000 Subject: Fix bug in HTTP header parsing HTTP headers, when contained in more than one packet, could be misread, causing cookie loss. --- util.h | 1 - 1 file changed, 1 deletion(-) (limited to 'util.h') diff --git a/util.h b/util.h index 1711765..af05560 100644 --- a/util.h +++ b/util.h @@ -1,6 +1,5 @@ /* See COPYING file for copyright and license details. */ #define COOKIEMAX 1024 -#define HDRMAX 1024 int dial(char *host, char *port); int get(char *host, char *path, char *sendcookie, char *savecookie, char **buf); int gettofile(char *host, char *url, char *sendcookie, char *savecookie, char *savepath); -- cgit v1.2.3