Update requests on unchoke
This commit is contained in:
parent
4d496bf756
commit
1b78a9bcc6
|
@ -1091,7 +1091,7 @@ func (c *PeerConn) mainReadLoop() (err error) {
|
|||
c.updateExpectingChunks()
|
||||
case pp.Unchoke:
|
||||
c.peerChoking = false
|
||||
c.tickleWriter()
|
||||
c.updateRequests()
|
||||
c.updateExpectingChunks()
|
||||
case pp.Interested:
|
||||
c.peerInterested = true
|
||||
|
|
Loading…
Reference in New Issue