diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-09-03 16:21:57 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-09-03 16:21:57 +0800 |
commit | 4f1ff2cfa54ee406067ffb4613feae852a5ea357 (patch) | |
tree | faf7b0fe6ecaea072acfb223af062c5e009c373e | |
parent | f4f2546bad4ad3bffb2ffe8f561445c81dd2fda5 (diff) |
Enabled the cookie engine
-rw-r--r-- | rtclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ bool rtclient_init(const char *url) handle = curl_easy_init(); if (handle) { curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1L); + curl_easy_setopt(handle, CURLOPT_COOKIEFILE, ""); #ifdef DEBUG curl_easy_setopt(handle, CURLOPT_VERBOSE, 1L); #endif // DEBUG |