wireguard-go/device
Josh Bleecher Snyder 60a26371f4 device: log all errors received by RoutineReceiveIncoming
When debugging, it's useful to know why a receive func exited.

We were already logging that, but only in the "death spiral" case.
Move the logging up, to capture it always.
Reduce the verbosity, since it is not an error case any more.
Put the receive func name in the log line.

Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
2021-05-06 11:22:13 +02:00
..
alignment_test.go device: fix alignment on 32-bit machines and test for it 2021-02-09 15:37:04 +01:00
allowedips.go device: use container/list instead of open coding it 2021-02-10 18:19:11 +01:00
allowedips_rand_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
allowedips_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
bind_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
channels.go device: flush peer queues before starting device 2021-02-10 00:39:28 +01:00
constants.go global: bump copyright 2021-01-28 17:52:15 +01:00
cookie.go global: bump copyright 2021-01-28 17:52:15 +01:00
cookie_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
device.go all: make conn.Bind.Open return a slice of receive functions 2021-04-02 11:07:08 -06:00
device_test.go device: test up/down using virtual conn 2021-02-23 20:00:57 +01:00
devicestate_string.go device: remove deviceStateNew 2021-02-09 15:39:19 +01:00
endpoint_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
indextable.go global: bump copyright 2021-01-28 17:52:15 +01:00
ip.go global: bump copyright 2021-01-28 17:52:15 +01:00
kdf_test.go global: bump copyright 2021-01-28 17:52:15 +01:00
keypair.go global: bump copyright 2021-01-28 17:52:15 +01:00
logger.go global: bump copyright 2021-01-28 17:52:15 +01:00
misc.go global: bump copyright 2021-01-28 17:52:15 +01:00
mobilequirks.go device: don't defer unlocking from loop 2021-04-12 16:19:35 -06:00
noise-helpers.go global: bump copyright 2021-01-28 17:52:15 +01:00
noise-protocol.go global: remove TODO name graffiti 2021-02-23 20:00:57 +01:00
noise-types.go global: bump copyright 2021-01-28 17:52:15 +01:00
noise_test.go device: cleanup unused test components 2021-02-23 20:00:57 +01:00
peer.go device: get rid of peers.empty boolean in timersActive 2021-03-06 08:44:38 -07:00
pools.go device: use a waiting sync.Pool instead of a channel 2021-02-02 19:32:13 +01:00
pools_test.go device: disable waitpool tests 2021-02-22 15:26:47 +01:00
queueconstants_android.go global: bump copyright 2021-01-28 17:52:15 +01:00
queueconstants_default.go conn: implement RIO for fast Windows UDP sockets 2021-02-25 15:08:08 +01:00
queueconstants_ios.go global: bump copyright 2021-01-28 17:52:15 +01:00
queueconstants_windows.go conn: implement RIO for fast Windows UDP sockets 2021-02-25 15:08:08 +01:00
race_disabled_test.go device: run fewer trials in TestWaitPool when race detector enabled 2021-02-09 18:28:58 +01:00
race_enabled_test.go device: run fewer trials in TestWaitPool when race detector enabled 2021-02-09 18:28:58 +01:00
receive.go device: log all errors received by RoutineReceiveIncoming 2021-05-06 11:22:13 +02:00
send.go device: signal to close device in separate routine 2021-03-11 09:29:10 -07:00
sticky_default.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
sticky_linux.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
timers.go device: get rid of peers.empty boolean in timersActive 2021-03-06 08:44:38 -07:00
tun.go device: don't track device interface state in RoutineTUNEventReader 2021-02-08 10:32:07 -08:00
uapi.go conn: make binds replacable 2021-02-23 20:00:57 +01:00