Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #22 from libp2p/fix/go-ipfs-6922
Browse files Browse the repository at this point in the history
fix: less confusing log message
  • Loading branch information
Stebalien authored Mar 29, 2020
2 parents ec8f12e + 87fd529 commit 7303704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ require (
github.com/multiformats/go-multiaddr v0.2.0
github.com/multiformats/go-multiaddr-net v0.1.2
)

go 1.13
2 changes: 1 addition & 1 deletion reuseport.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func reuseDial(ctx context.Context, laddr *net.TCPAddr, network, raddr string) (
if reuseErrShouldRetry(err) && ctx.Err() == nil {
// We could have an existing socket open or we could have one
// stuck in TIME-WAIT.
log.Debugf("failed to reuse port, dialing with a random port: %s", err)
log.Debugf("failed to reuse port, will try again with a random port: %s", err)
con, err = fallbackDialer.DialContext(ctx, network, raddr)
}
return con, err
Expand Down

0 comments on commit 7303704

Please sign in to comment.