Home GnuPG
Diffusion GnuPG fb56a273b1f2

dirmngr: Detect dead keyservers and try another one.
fb56a273b1f2Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Detect dead keyservers and try another one.

* dirmngr/ks-action.c (ks_action_resolve): Rename var for clarity.
(ks_action_search, ks_action_put): Ditto.
(ks_action_get): Consult only the first server which retruned some
data.
* dirmngr/ks-engine-hkp.c (SEND_REQUEST_RETRIES): New.
(map_host): Add arg CTRL and call dirmngr_tick.
(make_host_part): Add arg CTRL.
(mark_host_dead): Allow the use of an URL.
(handle_send_request_error): New.
(ks_hkp_search, ks_hkp_get, ks_hkp_put): Mark host dead and retry on
error.

Details

Provenance
wernerAuthored on Mar 12 2014, 2:32 PM
Parents
rG99135b89ced3: Comment typo fixes
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGfb56a273b1f2: dirmngr: Detect dead keyservers and try another one. (authored by Werner Koch <wk@gnupg.org>).Mar 12 2014, 2:33 PM