syncthing/lib/dialer
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
..
control_unix.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
control_unsupported.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
control_windows.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
debug.go all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
empty_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
internal.go lib/connections: Fix and optimize registry (#7996) 2021-10-06 10:52:51 +02:00
public.go lib/connections: Fix and optimize registry (#7996) 2021-10-06 10:52:51 +02:00