mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
dirmngr: Handle EIO which is sometimes returned by cookie functions.
* dirmngr/ks-engine-hkp.c (handle_send_request_error): Handle EIO. -- Suggested-by: Andre Heinecke Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
35c843c815
commit
cc32ddbcba
@ -1283,6 +1283,7 @@ handle_send_request_error (ctrl_t ctrl, gpg_error_t err, const char *request,
|
|||||||
case GPG_ERR_ENETDOWN:
|
case GPG_ERR_ENETDOWN:
|
||||||
case GPG_ERR_UNKNOWN_HOST:
|
case GPG_ERR_UNKNOWN_HOST:
|
||||||
case GPG_ERR_NETWORK:
|
case GPG_ERR_NETWORK:
|
||||||
|
case GPG_ERR_EIO: /* Sometimes used by estream cookie functions. */
|
||||||
if (mark_host_dead (request) && *tries_left)
|
if (mark_host_dead (request) && *tries_left)
|
||||||
retry = 1;
|
retry = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user