diff options
author | Nick White <git@njw.me.uk> | 2012-02-12 13:43:34 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2012-02-12 13:43:34 +0000 |
commit | cfd81b03f049c98f239e960f1903d4d3acef04bf (patch) | |
tree | 7008617b54e55a2b623d5efa112b5068ac96a870 /util.h | |
parent | cf3fb606b2f834cd84f23a4df58fe6f15e4fc239 (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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |