Commit 8a2f08f3 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet
Browse files

p2p/net/conn: reuse timeout is real error

should be returning false.
parent 3b5d1164
......@@ -152,7 +152,7 @@ func reuseErrShouldRetry(err error) bool {
// if it's a network timeout error, it's a legitimate failure.
if nerr, ok := err.(net.Error); ok && nerr.Timeout() {
return true
return false
}
errno, ok := err.(syscall.Errno)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment