X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;h=c31dd8752cd37c6570fa16503d6dc4a0bfe2ac20;hb=3b473acc5d4d27e5cf5101a4b8cc8a21c2bb7262;hp=9be32d16e1b85795d4426bf5450fb348b974367b;hpb=6bd4bf7b21f84746010792b885b9b71791dccb79;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);