X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;h=c31dd8752cd37c6570fa16503d6dc4a0bfe2ac20;hb=46ba00ecd986212d2519791244c50b33e1b81397;hp=9be32d16e1b85795d4426bf5450fb348b974367b;hpb=50c6b81549e3239034f71f00ff7dde4c6a8767e5;p=collectd.git diff --git a/src/apache.c b/src/apache.c index 9be32d16..c31dd875 100644 --- a/src/apache.c +++ b/src/apache.c @@ -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);