dirmngr: Resurrect hosts in the HKP hosttable.
authorWerner Koch <wk@gnupg.org>
Tue, 18 Mar 2014 10:07:05 +0000 (11:07 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 18 Mar 2014 10:07:05 +0000 (11:07 +0100)
commit6c058fac65c7e9d1ffb72686f0f02644f172da22
treed36a425dd8bf076ba1931240444b3c677e6a1b7a
parent04e304278c9302831bc81e7fe9049c588ead029a
dirmngr: Resurrect hosts in the HKP hosttable.

* dirmngr/dirmngr.c (HOUSEKEEPING_INTERVAL): New.
(housekeeping_thread): New.
(handle_tick): Call new function.
* dirmngr/ks-engine-hkp.c (RESURRECT_INTERVAL): New.
(struct hostinfo_s): Add field died_at and set it along with the dead
flag.
(ks_hkp_print_hosttable): Print that info.
(ks_hkp_housekeeping): New.
--

The resurrection gives the host a chance to get back to life the next
time a new host is selected.
dirmngr/dirmngr.c
dirmngr/dirmngr.h
dirmngr/ks-engine-hkp.c