diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-12-03 13:48:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-12-03 13:48:59 +0000 |
commit | 779043f7a3847cc9a502487e3df93f601b9adaeb (patch) | |
tree | dc452d029811243d3296deb6189f3e24ecd10520 /lib/urldata.h | |
parent | 265bb993829018e6cac32b9c3f9dd6f2c5c2e662 (diff) |
As Eric Lavigne pointed out, the ftp response reader MUST cache data that
is not dealt with when we find an end-of-response line, as there might be
important stuff even after the correct line. So on subsequent invokes, the
cached data must be used!
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 8f12e8705..3a7509dcd 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -175,6 +175,9 @@ struct FTP { char *file; /* decoded file */ char *entrypath; /* the PWD reply when we logged on */ + + char *cache; /* data cache between getresponse()-calls */ + size_t cache_size; /* size of cache in bytes */ }; /**************************************************************************** |