From 71f29a4ccfadb0eeed83479e61287252f9804fa7 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Mon, 14 Dec 2015 16:24:26 +0100 Subject: Integrated Post for Fileupload Test --- include/local-def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/local-def.h b/include/local-def.h index 2f8fd202..a5d48bfd 100644 --- a/include/local-def.h +++ b/include/local-def.h @@ -60,6 +60,7 @@ #define DEFLT_API_TIMEOUT 0 // default Plugin API Timeout #define DEFLT_CACHE_TIMEOUT 100000 // default Static File Chache [Client Side Cache 100000~=1day] #define DEFLT_AUTH_TOKEN NULL // expect for debug should == NULL +#define DEFLT_HTTP_TIMEOUT 15 // Max MibMicroHttp timeout typedef int BOOL; #ifndef FALSE @@ -199,7 +200,8 @@ typedef struct { const char *url; char *plugin; char *api; - char *post; + char *post; // post data in raw format + int len; // post data len json_object *jresp; AFB_clientCtx *client; // needed because libmicrohttp cannot create an empty response int restfull; // request is resfull [uuid token provided] -- cgit 1.2.3-korg