aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgcompose.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-07-03 15:39:53 +0000
committerWerner Koch <[email protected]>2019-07-03 15:40:49 +0000
commitd2e8d71251813e61b15a07637497fabe823b822c (patch)
tree6d0eecc811e735eb7dbdc8a6088a52887cd82aec /g10/gpgcompose.c
parentdirmngr: Do not rewrite the redirection for the "openpgpkey" subdomain. (diff)
downloadgnupg-d2e8d71251813e61b15a07637497fabe823b822c.tar.gz
gnupg-d2e8d71251813e61b15a07637497fabe823b822c.zip
dirmngr: Avoid endless loop in case of HTTP error 503.
* dirmngr/ks-engine-hkp.c (SEND_REQUEST_EXTRA_RETRIES): New. (handle_send_request_error): Use it for 503 and 504. (ks_hkp_search, ks_hkp_get, ks_hkp_put): Pass a new var for extra_tries. -- This is a pretty stupid fix but one which works without much risk of regressions. We could have used the existing TRIES but in that case the fallback to other host would have been too limited. With the used value we can have several fallbacks to other hosts. Note that the TRIES is still cumulative and not per host. GnuPG-bug-id: 4600 Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit 8b113bb148f273524682252233b3c65954e1419e)
Diffstat (limited to 'g10/gpgcompose.c')
0 files changed, 0 insertions, 0 deletions