Code

postgresql plugin: Unregister all writers on shutdown.
[collectd.git] / src / apache.c
index 9be32d16e1b85795d4426bf5450fb348b974367b..c31dd8752cd37c6570fa16503d6dc4a0bfe2ac20 100644 (file)
@@ -373,6 +373,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);