fetch: indicate an error if the connection was terminated prematurely
[project/uclient.git] / uclient.h
index ddc8b7845f9baaaee13ab766c93db706b191ff33..d5a0d5b4f804dd68523c4993921fe50edc8d1da3 100644 (file)
--- a/uclient.h
+++ b/uclient.h
@@ -62,6 +62,7 @@ struct uclient {
        void *priv;
 
        bool eof;
+       bool data_eof;
        int error_code;
        int status_code;
        struct blob_attr *meta;