From ea6c1cd7e6525f76041d341074a0e10b800d4e13 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 8 Jan 2021 14:25:37 +0100 Subject: device: receive: do not exit immediately on transient UDP receive errors Some users report seeing lines like: > Routine: receive incoming IPv4 - stopped Popping up unexpectedly. Let's sleep and try again before failing, and also log the error, and perhaps we'll eventually understand this situation better in future versions. Because we have to distinguish between the socket being closed explicitly and whatever error this is, we bump the module to require Go 1.16. Signed-off-by: Jason A. Donenfeld --- go.mod | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 1dbdb67..11b6c7f 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module golang.zx2c4.com/wireguard -go 1.14 +go 1.16 require ( - golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 - golang.org/x/net v0.0.0-20201110031124-69a78807bb2b - golang.org/x/sys v0.0.0-20201126233918-771906719818 + golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad + golang.org/x/net v0.0.0-20201224014010-6772e930b67b + golang.org/x/sys v0.0.0-20210105210732-16f7687f5001 ) -- cgit v1.2.3-54-g00ecf