]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/import/curl-util.c
import: put a time-out on downloads
authorLennart Poettering <lennart@poettering.net>
Mon, 20 Jan 2020 21:02:14 +0000 (22:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Jan 2020 21:07:02 +0000 (22:07 +0100)
commitd076f9fd56c9791457c2a2ea6603c1fe94966593
tree73902febe956d56bc5d5e5734c39cc4dc7a045df
parent137c6c6b36597f687ebdaf5c5321ef33d54f4ebe
import: put a time-out on downloads

Let's abort downloads when they are stuck by setting a download speed
threshold (as suggested in the CURL docs)

Fixes: #14215
src/import/curl-util.c