1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

Merge branch 'develop' of git.rwth-aachen.de:VILLASframework/VILLASnode into develop

This commit is contained in:
Steffen Vogel 2017-04-10 13:25:32 +02:00
commit 71bb3fb4d8

View file

@ -79,7 +79,9 @@ AFILE * afopen(const char *uri, const char *mode)
goto out1;
/* Setup libcurl handle */
#if LIBCURL_VERSION_NUM >= 0x072d00
curl_easy_setopt(af->curl, CURLOPT_DEFAULT_PROTOCOL, "file");
#endif
curl_easy_setopt(af->curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(af->curl, CURLOPT_UPLOAD, 0L);
curl_easy_setopt(af->curl, CURLOPT_USERAGENT, USER_AGENT);