From 8fe15035d1d08e2e628be26f73044baa58e459c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 14 Nov 2021 11:10:43 +0800 Subject: One handle for every thread See libcurl-tutorial(3) manual page, "Handle the Easy libcurl". --- icclient/typedefs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'icclient') diff --git a/icclient/typedefs.h b/icclient/typedefs.h index 6876144..4bb6dcc 100644 --- a/icclient/typedefs.h +++ b/icclient/typedefs.h @@ -6,10 +6,12 @@ #include typedef emscripten_fetch_t icclient_response; #else +#include typedef struct { void *userData; char *data; size_t numBytes; + CURL *curl; } icclient_response; #endif -- cgit v1.2.3