From ad7cf646c8b4511eeee03b29862dda23f384695b Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 16 Nov 2014 21:37:34 -0600 Subject: [PATCH] Open new connections when a connection is dropped --- client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client.go b/client.go index 401f5efd..c553afd5 100644 --- a/client.go +++ b/client.go @@ -1042,6 +1042,7 @@ func (me *Client) dropConnection(torrent *torrent, conn *connection) { torrent.Conns[i0] = torrent.Conns[i1] } torrent.Conns = torrent.Conns[:i1] + me.openNewConns() return } panic("connection not found")