Code

If the file isn't closed such as when logging to stdout or stderr the file must be...
[collectd.git] / src / curl.c
index a533e147b1b6e2af1dcf00ff7634667b20bf4784..31cda39a2514f8d0a1993d4482e8525dbdb35cb0 100644 (file)
@@ -370,6 +370,7 @@ static int cc_page_init_curl (web_page_t *wp) /* {{{ */
     return (-1);
   }
 
+  curl_easy_setopt (wp->curl, CURLOPT_NOSIGNAL, 1);
   curl_easy_setopt (wp->curl, CURLOPT_WRITEFUNCTION, cc_curl_callback);
   curl_easy_setopt (wp->curl, CURLOPT_WRITEDATA, wp);
   curl_easy_setopt (wp->curl, CURLOPT_USERAGENT,