projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d076f9f
)
import: let's disable UNIX signal generation from curl
author
Lennart Poettering
<lennart@poettering.net>
Mon, 20 Jan 2020 21:05:53 +0000
(22:05 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 20 Jan 2020 21:09:38 +0000
(22:09 +0100)
src/import/curl-util.c
patch
|
blob
|
history
diff --git
a/src/import/curl-util.c
b/src/import/curl-util.c
index eea5ca395f86e268bca18b4255699964af7fb3cd..5f21033db5a04ab01aef226175528cef7219819b 100644
(file)
--- 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;