mirror of https://github.com/tailscale/tailscale/
wgengine/magicsock: make receive from didCopy respect cancellation.
Very rarely, cancellation occurs between a successful send on derpRecvCh and a call to copyBuf on the receiving side. Without this patch, this situation results in <-copyBuf blocking indefinitely. Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>pull/563/head
parent
1f923124bf
commit
891898525c
Loading…
Reference in New Issue