Home GnuPG
Diffusion GnuPG 6c058fac65c7

dirmngr: Resurrect hosts in the HKP hosttable.
6c058fac65c7Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
wernerAuthored on Mar 18 2014, 11:07 AM
Parents
rG04e304278c93: common: New function elapsed_time_string.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG6c058fac65c7: dirmngr: Resurrect hosts in the HKP hosttable. (authored by Werner Koch <wk@gnupg.org>).Mar 18 2014, 11:07 AM