X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnginx.c;h=3e162bacf0bf52be3ecfb6dc8d48e223df4e0a3e;hb=a49ed2ad7f046517f1e48b417a71ac2005362d2f;hp=1cb7a90a13ad75f0405b4228eb589b984396b608;hpb=565c731a4353d1453b65dc9a4267e1f8e4740c06;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index 1cb7a90a..3e162bac 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -120,6 +120,7 @@ static int init (void) return (-1); } + curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, nginx_curl_callback); curl_easy_setopt (curl, CURLOPT_USERAGENT, PACKAGE_NAME"/"PACKAGE_VERSION); curl_easy_setopt (curl, CURLOPT_ERRORBUFFER, nginx_curl_error);