import: let's disable UNIX signal generation from curl

This commit is contained in:
Lennart Poettering 2020-01-20 22:05:53 +01:00
parent d076f9fd56
commit f85df81817
1 changed files with 3 additions and 0 deletions

View File

@ -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;