tailscale/wgengine/magicsock
Denton Gentry 2e9728023b magicsock: test error case in sendDiscoMessage
In sendDiscoMessage there is a check of whether the connection is
closed, which is not being reliably exercised by other tests.
This shows up in code coverage reports, the lines of code in
sendDiscoMessage are alternately added and subtracted from
code coverage.

Add a test to specifically exercise and verify this code path.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-01-12 04:29:28 -08:00
..
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
legacy.go wgkey: new package 2020-12-30 17:33:02 -08:00
magicsock_test.go magicsock: test error case in sendDiscoMessage 2021-01-12 04:29:28 -08:00
magicsock.go magicsock: test error case in derpWriteChanOfAddr 2021-01-12 04:29:28 -08:00