X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=inline;f=src%2Fascent.c;h=1e7eca1480fee669b888cd279a3f903f7e1ddeb9;hb=235e731905fc81a379ba7ba0717dd96a69ac2737;hp=8829e518f3fbfef289b9d74d368fe7ffc1de7bbf;hpb=6e419a825c50f9c97471aba7d50521bfc7e19828;p=collectd.git diff --git a/src/ascent.c b/src/ascent.c index 8829e518..1e7eca14 100644 --- a/src/ascent.c +++ b/src/ascent.c @@ -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);