summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-02-12 13:43:34 +0000
committerNick White <git@njw.me.uk>2012-02-12 13:43:34 +0000
commitcfd81b03f049c98f239e960f1903d4d3acef04bf (patch)
tree7008617b54e55a2b623d5efa112b5068ac96a870 /util.h
parentcf3fb606b2f834cd84f23a4df58fe6f15e4fc239 (diff)
Fix bug in HTTP header parsing
HTTP headers, when contained in more than one packet, could be misread, causing cookie loss.
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 0 insertions, 1 deletions
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);