Update requests on unchoke

This commit is contained in:
Matt Joiner 2021-10-07 17:20:04 +11:00
parent 4d496bf756
commit 1b78a9bcc6
1 changed files with 1 additions and 1 deletions

View File

@ -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