X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fascent.c;h=1e7eca1480fee669b888cd279a3f903f7e1ddeb9;hb=e857aa81d2ad221f01b9c9243f8bdd5fe4f57844;hp=8829e518f3fbfef289b9d74d368fe7ffc1de7bbf;hpb=c57f2a191b63ce73fc432befebe9fa3af97c8eb5;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);