Skip to content

Commit 11a44e2

Browse files
authored
Merge pull request #1015 from splicefracture/patch-1
Update error.go
2 parents aecc811 + f373854 commit 11a44e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ func (cn *conn) errRecover(err *error) {
496496
cn.setBad()
497497
*err = v
498498
case *safeRetryError:
499-
cn.bad = true
499+
cn.setBad()
500500
*err = driver.ErrBadConn
501501
case error:
502502
if v == io.EOF || v.(error).Error() == "remote error: handshake failure" {

0 commit comments

Comments
 (0)