X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnginx.c;h=3e162bacf0bf52be3ecfb6dc8d48e223df4e0a3e;hb=59c7ee1cafaf53814838794908dd84f8101334c7;hp=1cb7a90a13ad75f0405b4228eb589b984396b608;hpb=aff80830f1154a5b6c4da16a0b1033aafde14e24;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);