diff lib/httpcommon.h @ 209:d79e2782eb1b

2003-7-5 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_get_line) - fixed bug where the read function was being called one extra time after the end of file was reached * lib/rfc2068.c - fixes for chunked file transfers. All known issues with the HTTP protocol should be (hopefully) fixed now * lib/httpcommon.h (struct rfc2068_params_tag) - added eof variable
author masneyb
date Sat, 05 Jul 2003 17:30:14 +0000
parents cf4098008615
children 3b9d5797050f
line wrap: on
line diff
--- a/lib/httpcommon.h	Thu Jul 03 08:29:01 2003 +0000
+++ b/lib/httpcommon.h	Sat Jul 05 17:30:14 2003 +0000
@@ -25,7 +25,8 @@
   unsigned long read_bytes,
                 content_length;
   long chunk_size;
-  unsigned int chunked_transfer : 1;
+  unsigned int chunked_transfer : 1,
+               eof : 1;
   ssize_t (*real_read_function) ( gftp_request * request,
                                   void *ptr,
                                   size_t size,