tailscale/net/stun
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
..
stuntest tstest/natlab: use net.ErrClosed instead of a new error 2021-02-05 13:44:46 -08:00
stun.go net/stun: Fix STUN attribute padding (#710) 2020-08-24 12:52:13 -07:00
stun_test.go net/stun: Fix STUN attribute padding (#710) 2020-08-24 12:52:13 -07:00