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>
2021-02-05 13:44:46 -08:00
..
dnscache net/dnscache: work on IPv6-only hosts (again) 2021-01-06 19:53:13 -08:00
flowtrack net/flowtrack: add Tuple.String method 2021-01-11 22:09:09 -08:00
interfaces net/interfaces: use a uint32_t for ipv4 address 2021-02-02 13:32:58 -08:00
netcheck netcheck: use reflect in sortRegions test. 2021-01-12 04:29:28 -08:00
netns net/netns: remove use of unsafe on Windows 2020-11-14 19:53:10 -08:00
netstat net/netstat: remove a bit more unsafe 2020-11-17 13:49:24 -08:00
nettest net/nettest: de-flake tests on Windows 2021-01-15 18:21:56 -08:00
packet net/packet: add some more TSMP packet reject reasons and MaybeBroken bit 2021-02-04 10:59:07 -08:00
stun tstest/natlab: use net.ErrClosed instead of a new error 2021-02-05 13:44:46 -08:00
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 2020-06-01 09:01:37 -07:00
tsaddr net/tsaddr: add ChromeOS contains tests 2020-12-28 16:48:43 -08:00
tshttpproxy net/tshttpproxy: aggressively rate-limit error logs in Transport.Proxy path 2020-11-03 09:23:57 -08:00