Code

src/collectd.conf.in: Fix entries of renamed plugins.
[collectd.git] / src / ascent.c
index 8829e518f3fbfef289b9d74d368fe7ffc1de7bbf..1e7eca1480fee669b888cd279a3f903f7e1ddeb9 100644 (file)
@@ -560,6 +560,7 @@ static int ascent_init (void) /* {{{ */
   }
 
   curl_easy_setopt (curl, CURLOPT_URL, url);
+  curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1);
 
   if ((verify_peer == NULL) || (strcmp (verify_peer, "true") == 0))
     curl_easy_setopt (curl, CURLOPT_SSL_VERIFYPEER, 1);