Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

errFilter changed: all network errors are treated as recoverable

  • Loading branch information...
commit 056ab8e2b9d2b11ea095375d0c20bd2a4835b734 1 parent 3396376
@ziutek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  godrv/driver.go
View
2  godrv/driver.go
@@ -24,7 +24,7 @@ type conn struct {
func errFilter(err error) error {
if err == io.ErrUnexpectedEOF {
return driver.ErrBadConn
- } else if e, ok := err.(net.Error); ok && e.Temporary() {
+ } else if _, ok := err.(net.Error); ok {
return driver.ErrBadConn
}
return err
Please sign in to comment.
Something went wrong with that request. Please try again.