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/magicsock
Brad Fitzpatrick 6f694da912 wgengine/magicsock: avoid log spam from ReceiveFunc on shutdown
The new logging in 2dd71e64ac is spammy at shutdown:

    Receive func ReceiveIPv6 exiting with error: *net.OpError, read udp [::]:38869: raw-read udp6 [::]:38869: use of closed network connection
    Receive func ReceiveIPv4 exiting with error: *net.OpError, read udp 0.0.0.0:36123: raw-read udp4 0.0.0.0:36123: use of closed network connection

Skip it if we're in the process of shutting down.

Updates #10976

Change-Id: I4f6d1c68465557eb9ffe335d43d740e499ba9786
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 weeks ago
..
batching_conn.go
batching_conn_default.go
batching_conn_linux.go
batching_conn_linux_test.go
blockforever_conn.go
cloudinfo.go
cloudinfo_nocloud.go
cloudinfo_test.go
debughttp.go
debugknobs.go
debugknobs_stubs.go
derp.go
derp_test.go
discopingpurpose_string.go
endpoint.go
endpoint_default.go
endpoint_stub.go
endpoint_test.go
endpoint_tracker.go
endpoint_tracker_test.go
magicsock.go
magicsock_default.go
magicsock_linux.go
magicsock_linux_test.go
magicsock_notwindows.go
magicsock_test.go
magicsock_unix_test.go
magicsock_windows.go
peermap.go
peermtu.go
peermtu_darwin.go
peermtu_linux.go
peermtu_stubs.go
peermtu_unix.go
rebinding_conn.go