X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fapache.c;h=a333bf2b50a7db6a6ab39d1e2eaa962ca1902f17;hp=371e1d4b3439824a17a07d416a0080fb740c531f;hb=03aa21f08fede809f37a7443d3124fb9314f4dc8;hpb=dbbdb25542df6d9afbfddf78a3b1a8fee9029a80 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) {