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