chiark / gitweb /
site: Make transport_record_peers cope with multiple addresses
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 28 Jun 2014 16:11:07 +0000 (17:11 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 27 Sep 2014 17:48:10 +0000 (18:48 +0100)
commit23b38ef3a3c80849b2172274e103dfd4e26b7750
tree8689e2f3840c5543a7073118adeedb7e6721ae93
parent15efc8b65dfe32c10b2bbb93769973f1191ea815
site: Make transport_record_peers cope with multiple addresses

This is a complete rewrite of this function.  The semantics are
similar to before, except that it copes with multiple addresses at
once, and ensures that they arrive, in order, at the front of the
array.  It now needs its caller to call transport_peers_expire.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
site.c