mirror of
https://github.com/tladesignz/dnstt.git
synced 2026-09-30 19:08:02 +03:00
I was still getting "io: read/write on closed pipe" errors in the logs, even after comparing errors against io.ErrClosedPipe to skip logging them. It turns out that kcp-go wraps many of its errors in another type. The actual type of the errors was *errors.withStack, where errors is https://github.com/pkg/errors. We can use the go1.13 errors interface (https://blog.golang.org/go1.13-errors) to get at the value inside.
11 lines
216 B
AMPL
11 lines
216 B
AMPL
module www.bamsoftware.com/git/dnstt.git
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
github.com/flynn/noise v1.0.0
|
|
github.com/xtaci/kcp-go/v5 v5.6.1
|
|
github.com/xtaci/smux v1.5.15
|
|
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
|
|
)
|