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!
This commit is contained in:
Daniel Stenberg
2001-12-03 13:48:59 +00:00
parent 265bb99382
commit 779043f7a3
2 changed files with 57 additions and 17 deletions

View File

@@ -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 */
};
/****************************************************************************