From 1b78a9bcc696fd929d352516117f33f470777266 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 7 Oct 2021 17:20:04 +1100 Subject: [PATCH] Update requests on unchoke --- peerconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peerconn.go b/peerconn.go index 0cb127fa..749832ca 100644 --- a/peerconn.go +++ b/peerconn.go @@ -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