Skip to content

Commit

Permalink
Merge pull request #2 from libp2p/feat/dep/go-reuseport
Browse files Browse the repository at this point in the history
Update go-reuseport, fix context passing, publish 1.0.2
  • Loading branch information
whyrusleeping authored Oct 3, 2016
2 parents 1b26b1f + 8f3e533 commit 0cf5a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/transport/tcp/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (d *tcpDialer) reuseDial(ctx context.Context, raddr ma.Multiaddr) (manet.Co
}

_ = ctx // TODO: implement DialContext in reuseport
con, err := d.rd.Dial(network, netraddr)
con, err := d.rd.DialContext(ctx, network, netraddr)
if err == nil {
logdial["reuseport"] = "success"
rpev.Done()
Expand Down

0 comments on commit 0cf5a54

Please sign in to comment.