From f455ee386804a91cf64a587813246490559c2460 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 23 May 2014 21:02:42 +1000 Subject: [PATCH] Remove redundant replenishConnRequests when receiving unchoke --- client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client.go b/client.go index 49e80cf4..7d3eb7eb 100644 --- a/client.go +++ b/client.go @@ -407,7 +407,6 @@ func (me *Client) connectionLoop(t *torrent, c *connection) error { case pp.Unchoke: c.PeerChoked = false me.peerUnchoked(t, c) - me.replenishConnRequests(t, c) case pp.Interested: c.PeerInterested = true // TODO: This should be done from a dedicated unchoking routine. -- 2.48.1