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:
commit
71bb3fb4d8
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue