You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
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>
4 years ago
..
filter net/packet: add TCPFlag type and some more constants 4 years ago
magicsock magicsock: test error case in sendDiscoMessage 4 years ago
monitor wgengine/monitor: close closeHandle 4 years ago
netstack wengine/netstack: bump gvisor to latest version 4 years ago
router wgengine/router: disable IPv6 on Linux if ip rule -6 fails (#1074) 4 years ago
tsdns cmd/tailscale: change formatting of "tailscale status" 4 years ago
tstun wgengine/tstun: initialize wireguard-go TUN parameters 4 years ago
winnet Move Linux client & common packages into a public repo. 5 years ago
pendopen.go wgengine: on TCP connect fail/timeout, log some clues about why it failed 4 years ago
userspace.go wgengine: on TCP connect fail/timeout, log some clues about why it failed 4 years ago
userspace_test.go cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work 4 years ago
watchdog.go wgengine: add Engine.SetLinkChangeCallback 4 years ago
watchdog_test.go cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work 4 years ago
wgengine.go ipn, wgengine: disable subnet routes if network has PAC configuration 4 years ago