X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;h=6489bce261180ca763497f2c148f972185012571;hb=17a04c7afcf44707f6bc45697212c1f8fc6aa761;hp=4fa7aa1b11a9f8dbf192271abfe65322be0e3806;hpb=a1ae4b5afaf3207a7070b85f802b41b32c0b9a20;p=collectd.git diff --git a/src/apache.c b/src/apache.c index 4fa7aa1b..6489bce2 100644 --- a/src/apache.c +++ b/src/apache.c @@ -160,6 +160,7 @@ static int 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)) {