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