Skip to content

Commit

Permalink
debug: recover print net.OpError
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Jul 25, 2021
1 parent 317f39c commit 5a7cbc9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/transporter/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ func transport(rw1, rw2 io.ReadWriter, remote string) error {
if err == io.EOF || errors.Is(err, syscall.EPIPE) || errors.Is(err, syscall.ECONNRESET) {
err = nil
}
if _, ok := err.(*net.OpError); ok {
err = nil
}
}
return err
}
Expand Down

0 comments on commit 5a7cbc9

Please sign in to comment.