Add code for explicit selection of pooled A records.
authorWerner Koch <wk@gnupg.org>
Tue, 12 Apr 2011 14:30:08 +0000 (16:30 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 12 Apr 2011 14:30:08 +0000 (16:30 +0200)
commitf1e9f510ec70f2bb64f1b61b2b040d8d3103af32
tree308c29c8de56f5bac9e711466ba1ce9a89fc1439
parent4206a2bd486f02072c8ba2731f4fade46c2a5581
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.
common/ChangeLog
common/sysutils.c
common/sysutils.h
dirmngr/ChangeLog
dirmngr/ks-action.c
dirmngr/ks-engine-hkp.c
dirmngr/ks-engine.h
dirmngr/server.c