Various plugins: Set the cURL option "CURLOPT_NOSIGNAL".
[collectd.git] / src / apache.c
index 3d6d957..5f5441f 100644 (file)
@@ -406,6 +406,7 @@ static int init_host (apache_t *st) /* {{{ */
                return (-1);
        }
 
+       curl_easy_setopt (st->curl, CURLOPT_NOSIGNAL, 1);
        curl_easy_setopt (st->curl, CURLOPT_WRITEFUNCTION, apache_curl_callback);
        curl_easy_setopt (st->curl, CURLOPT_WRITEDATA, st);