1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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.
This commit is contained in:
Werner Koch 2011-04-12 16:30:08 +02:00
parent 4206a2bd48
commit f1e9f510ec
8 changed files with 455 additions and 81 deletions

View file

@ -76,7 +76,7 @@ ks_action_help (ctrl_t ctrl, const char *url)
return err;
}
/* Call all engines to geive them a chance to print a help sting. */
/* Call all engines to give them a chance to print a help sting. */
err = ks_hkp_help (ctrl, parsed_uri);
if (!err)
err = ks_http_help (ctrl, parsed_uri);