Merge multiple similar code bits together into repo_done(). Which currently
authorclaudio <claudio@openbsd.org>
Wed, 29 Dec 2021 11:35:23 +0000 (11:35 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 29 Dec 2021 11:35:23 +0000 (11:35 +0000)
commit99ee48412b10aa82deffebabf5cd56e80ef4e959
treea562adb02b61126824d3fe6ce96d8d8c050d18f8
parent7f9e6b6f1eabb136edc875cfaaaa5a940475eba0
Merge multiple similar code bits together into repo_done(). Which currently
finds all repos that point to the passed backend and flushes their queues.
Also make sure that REPO_FAILED is set in cases where no sync happened and
also fall back from rrdp to rsync in any case of failure (including errors
merging the rrdp repo itself).
OK tb@
usr.sbin/rpki-client/repo.c