From: Lennart Poettering Date: Mon, 20 Jan 2020 21:05:53 +0000 (+0100) Subject: import: let's disable UNIX signal generation from curl X-Git-Tag: v245-rc1~88^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14614%2Fhead;p=thirdparty%2Fsystemd.git import: let's disable UNIX signal generation from curl --- diff --git a/src/import/curl-util.c b/src/import/curl-util.c index eea5ca395f8..5f21033db5a 100644 --- a/src/import/curl-util.c +++ b/src/import/curl-util.c @@ -247,6 +247,9 @@ int curl_glue_make(CURL **ret, const char *url, void *userdata) { if (curl_easy_setopt(c, CURLOPT_FOLLOWLOCATION, 1L) != CURLE_OK) return -EIO; + if (curl_easy_setopt(c, CURLOPT_NOSIGNAL, 1L) != CURLE_OK) + return -EIO; + if (curl_easy_setopt(c, CURLOPT_LOW_SPEED_TIME, 60L) != CURLE_OK) return -EIO;