diff options
author | Werner Koch <wk@gnupg.org> | 2011-04-12 16:30:08 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-04-12 16:30:08 +0200 |
commit | f1e9f510ec70f2bb64f1b61b2b040d8d3103af32 (patch) | |
tree | 308c29c8de56f5bac9e711466ba1ce9a89fc1439 /dirmngr/ks-engine.h | |
parent | Detect premature EOF while parsing corrupted key packets. (diff) | |
download | gnupg2-f1e9f510ec70f2bb64f1b61b2b040d8d3103af32.tar.xz gnupg2-f1e9f510ec70f2bb64f1b61b2b040d8d3103af32.zip |
Add code for explicit selection of pooled A records.
To better cope with round robin pooled A records like keys.gnupg.net
we need to keep some information on unresponsive hosts etc. What we
do now is to resolve the hostnames, remember them and select a random
one. If a host is dead it will be marked and a different one
selected. This is intended to solve the problem of long timeouts due
to unresponsive hosts.
The code is not yet finished but selection works.
Diffstat (limited to 'dirmngr/ks-engine.h')
-rw-r--r-- | dirmngr/ks-engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dirmngr/ks-engine.h b/dirmngr/ks-engine.h index 8b5514473..cda31a735 100644 --- a/dirmngr/ks-engine.h +++ b/dirmngr/ks-engine.h @@ -27,6 +27,7 @@ gpg_error_t ks_print_help (ctrl_t ctrl, const char *text); /*-- ks-engine-hkp.c --*/ +void ks_hkp_print_hosttable (void); gpg_error_t ks_hkp_help (ctrl_t ctrl, parsed_uri_t uri); gpg_error_t ks_hkp_search (ctrl_t ctrl, parsed_uri_t uri, const char *pattern, estream_t *r_fp); |