aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c
diff options
context:
space:
mode:
authorMichał Górny <[email protected]>2018-01-31 15:57:19 +0000
committerWerner Koch <[email protected]>2018-02-22 19:46:51 +0000
commitecfc4db3a2f8bc2652ba4ac4de5ca1cd13bfcbec (patch)
tree57f258f665a96b71961f4bcedaa67e2c0830c2c2 /g10/call-agent.c
parentdoc: Fix recently introduced typo in gpgsm.texi. (diff)
downloadgnupg-ecfc4db3a2f8bc2652ba4ac4de5ca1cd13bfcbec.tar.gz
gnupg-ecfc4db3a2f8bc2652ba4ac4de5ca1cd13bfcbec.zip
dirmngr: Handle failures related to missing IPv6 gracefully
* dirmngr/ks-engine-hkp.c (handle_send_request_error): Handle two more error codes. -- Handle the two possible connect failures related to missing IPv6 support gracefully by marking the host dead and retrying with another one. If IPv6 is disabled via procfs, connect() will return EADDRNOTAVAIL. If IPv6 is not compiled into the kernel, it will return EAFNOSUPPORT. This makes it possible to use dual-stack hkp servers on hosts not having IPv6 without random connection failures. GnuPG-bug-id: 3331 -- The above description seems to be for Linux, so it is possible that other systems might behave different. However, it is worth to try this patch. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/call-agent.c')
0 files changed, 0 insertions, 0 deletions