X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=inline;f=src%2Fnginx.c;h=d9529516331740741475b0baecacbc943af0700c;hb=d1f72747955c107445b1d25235ba0f8b78d47f4b;hp=697684277a153911fdc43474cdc74bdab5b62d1e;hpb=d48a9456e42af4ab5881ab055c95ceab71819bc1;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);