Diffusion GnuPG 05ef62827844

dirmngr: Retry another server from the pool on 502, 503, 504.

Authored by werner on Dec 11 2018, 1:39 PM.

Description

dirmngr: Retry another server from the pool on 502, 503, 504.

* dirmngr/ks-engine-hkp.c (handle_send_request_error): Add arg
http_status and handle it.
(ks_hkp_search): Get http_status froms end_request and pass on to
handle_send_request_error.
(ks_hkp_get): Ditto.
(ks_hkp_put): Ditto.
  • GnuPG-bug-id: T4175
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerDec 11 2018, 1:39 PM
Parents
rGdc61f4ecea5c: dirmngr: New function http_status2string.
Branches
Unknown
Tags
Unknown
Tasks
T4175: HTTP 5xx should fail over to the next server