mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
dirmngr: Improve dead host detection.
* dirmngr/ks-engine-hkp.c (handle_send_request_error): Mark host dead also for 2 other error messages.
This commit is contained in:
parent
6d5f128341
commit
e8c0ed7795
@ -1075,6 +1075,8 @@ handle_send_request_error (gpg_error_t err, const char *request,
|
||||
{
|
||||
case GPG_ERR_ECONNREFUSED:
|
||||
case GPG_ERR_ENETUNREACH:
|
||||
case GPG_ERR_UNKNOWN_HOST:
|
||||
case GPG_ERR_NETWORK:
|
||||
if (mark_host_dead (request) && *tries_left)
|
||||
retry = 1;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user