dirmngr: Retry another server from the pool on 502, 503, 504.
authorWerner Koch <wk@gnupg.org>
Tue, 11 Dec 2018 12:39:41 +0000 (13:39 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 11 Dec 2018 12:39:41 +0000 (13:39 +0100)
commit05ef6282784495a77f4faf76c0de5bc85dfecf06
treed88f9a3244cb694d60ab612bffb474fc89fb725d
parentdc61f4ecea5c9815cb00aeb25439978337c1fd64
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: 4175
Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/ks-engine-hkp.c