X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnginx.c;h=d9529516331740741475b0baecacbc943af0700c;hb=e35f3c5c634216860f14586a7d17232022d8b588;hp=697684277a153911fdc43474cdc74bdab5b62d1e;hpb=f9d51dc8fabe44f3cd17499713d63b518f0e1853;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index 69768427..d9529516 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -119,6 +119,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);