We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74fb9f0 commit 1980be0Copy full SHA for 1980be0
error.go
@@ -91,7 +91,7 @@ func isBadConn(err error, allowTimeout bool, addr string) bool {
91
92
if allowTimeout {
93
if netErr, ok := err.(net.Error); ok && netErr.Timeout() {
94
- return !netErr.Temporary()
+ return false
95
}
96
97
0 commit comments