X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;h=a333bf2b50a7db6a6ab39d1e2eaa962ca1902f17;hb=9c98fa31ef50a6ff849d36cac4f5297faa6f7909;hp=371e1d4b3439824a17a07d416a0080fb740c531f;hpb=3f0d178e58251171272a643e1667abcb9946edce;p=collectd.git diff --git a/src/apache.c b/src/apache.c index 371e1d4b..a333bf2b 100644 --- a/src/apache.c +++ b/src/apache.c @@ -458,6 +458,7 @@ static int init_host (apache_t *st) /* {{{ */ } curl_easy_setopt (st->curl, CURLOPT_URL, st->url); + curl_easy_setopt (st->curl, CURLOPT_FOLLOWLOCATION, 1); if (st->verify_peer != 0) {