Home GnuPG
Diffusion GnuPG e5abdb6da7fa

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

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.

(cherry picked from commit 05ef6282784495a77f4faf76c0de5bc85dfecf06)

  • GnuPG-bug-id: T4175
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 11 2018, 1:39 PM
Parents
rGb9d71ea64a69: dirmngr: New function http_status2string.
Branches
Unknown
Tags
Unknown
Tasks
T4175: HTTP 5xx should fail over to the next server