gluon-packages/admin/autoupdater
Matthias Schiffer a5259c0245
autoupdater: improve handling of interrupted HTTP requests
Check return code of uloop_run() and pass the signal number up when the
loop was interrupted. After cleanup, uninstall uloop's signal handlers
and re-raise the signal to terminate the process.

This allows interrupting the autoupdater using Ctrl-C during downloads,
instead of having it continue with the next mirror (if multple are
configured). As uloop's signal handlers only set a flag to interrupt
uloop_run() and have otherwise no effect, the autoupdater can still only
be interrupted during HTTP requests, ensuring we can't leave the system
in an inconsistent state.
2023-02-24 22:34:26 +01:00
..
files autoupdater: new implementation 2018-01-13 00:22:27 +01:00
src autoupdater: improve handling of interrupted HTTP requests 2023-02-24 22:34:26 +01:00
Makefile treewide: remove redundant definitions from package Makefiles 2018-03-07 20:51:48 +01:00
README.md autoupdater: remove outdated list of hardware (#145) 2016-08-13 15:39:16 +02:00
manifest.sample autoupdater: new implementation 2018-01-13 00:22:27 +01:00

README.md