mirror of https://github.com/tailscale/tailscale/
wgengine/magicsock: make time.Sleep in runDerpReader respect cancellation.
Before this patch, the 250ms sleep would not be interrupted by context cancellation, which would result in the goroutine sometimes lingering in tests (100ms grace period). Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>pull/563/head
parent
891898525c
commit
380ee76d00
Loading…
Reference in New Issue