Reduce log noise due to uTP connection timeouts

This commit is contained in:
Matt Joiner 2015-06-03 22:44:03 +10:00
parent 005ca8124a
commit 5014b62e17
1 changed files with 3 additions and 0 deletions

View File

@ -681,6 +681,9 @@ func doDial(dial func(addr string, t *torrent) (net.Conn, error), ch chan dialRe
return
}
}
if utp && err.Error() == "timed out waiting for ack" {
return
}
if err != nil {
log.Printf("error dialing %s: %s", addr, err)
return