You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Josh Bleecher Snyder 138055dd70 tstest/natlab: use net.ErrClosed instead of a new error
Upstream wireguard-go decided to use errors.Is(err, net.ErrClosed)
instead of checking the error string.

It also provided an unsafe linknamed version of net.ErrClosed
for clients running Go 1.15. Switch to that.

This reduces the time required for the wgengine/magicsock tests
on my machine from ~35s back to the ~13s it was before
456cf8a376.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
dnscache net/dnscache: work on IPv6-only hosts (again) 4 years ago
flowtrack net/flowtrack: add Tuple.String method 3 years ago
interfaces net/interfaces: use a uint32_t for ipv4 address 3 years ago
netcheck netcheck: use reflect in sortRegions test. 3 years ago
netns net/netns: remove use of unsafe on Windows 4 years ago
netstat net/netstat: remove a bit more unsafe 4 years ago
nettest net/nettest: de-flake tests on Windows 3 years ago
packet net/packet: add some more TSMP packet reject reasons and MaybeBroken bit 3 years ago
stun tstest/natlab: use net.ErrClosed instead of a new error 3 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 4 years ago
tsaddr net/tsaddr: add ChromeOS contains tests 4 years ago
tshttpproxy net/tshttpproxy: aggressively rate-limit error logs in Transport.Proxy path 4 years ago