syncthing/lib/connections/registry
greatroar 7c292cc812
lib/connections: Fix and optimize registry (#7996)
Registry.Get used a full sort to get the minimum of a list, and the sort
was broken because util.AddressUnspecifiedLess assumed it could find out
whether an address is IPv4 or IPv6 from its Network method. However,
net.(TCP|UDP)Addr.Network always returns "tcp"/"udp".
2021-10-06 10:52:51 +02:00
..
registry_test.go lib/connections: Fix and optimize registry (#7996) 2021-10-06 10:52:51 +02:00
registry.go lib/connections: Fix and optimize registry (#7996) 2021-10-06 10:52:51 +02:00