tailscale/wgengine/magicsock
Dmytro Shynkevych 891898525c
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>
2020-07-16 10:34:49 -04:00
..
magicsock_test.go tstest/natlab: refactor PacketHandler into a larger interface. 2020-07-15 14:38:33 -07:00
magicsock.go wgengine/magicsock: make receive from didCopy respect cancellation. 2020-07-16 10:34:49 -04:00