4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 16:46:06 +00:00

Conn Read/Write operations will block while search completes

This commit is contained in:
Neil Alexander
2019-04-22 22:38:37 +01:00
parent ea8948f378
commit 6e528799e9
2 changed files with 20 additions and 5 deletions

View File

@ -216,7 +216,7 @@ func (tun *TunAdapter) connReader(conn *yggdrasil.Conn) error {
for {
n, err := conn.Read(b)
if err != nil {
//tun.log.Errorln(conn.String(), "TUN/TAP conn read error:", err)
tun.log.Errorln(conn.String(), "TUN/TAP conn read error:", err)
continue
}
if n == 0 {