Skip to content

Commit

Permalink
unchoke
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Aug 16, 2017
1 parent c0470a5 commit 26336e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xd/lib/bittorrent/swarm/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ func (c *PeerConn) runReader() {
m := common.NewInterested()
c.Send(m)
if isnew {
c.Unchoke()
go c.runDownload()
}
continue
Expand Down

0 comments on commit 26336e0

Please sign in to comment.