From 9ceca0a12166cefdf07aedc3c187fdd2f72fdec8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 7 May 2014 23:21:52 +0200 Subject: fetch: indicate an error if the connection was terminated prematurely Signed-off-by: Felix Fietkau --- uclient.h | 1 + 1 file changed, 1 insertion(+) (limited to 'uclient.h') diff --git a/uclient.h b/uclient.h index ddc8b78..d5a0d5b 100644 --- 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; -- cgit v1.2.1