From f93ed52be215c968975f3a55f9f5008b97fbb7b9 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sat, 29 Nov 2014 20:30:20 -0600 Subject: [PATCH] Default download strategy: Download while initial hashing --- download_strategies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_strategies.go b/download_strategies.go index 8973bcae..5317cbf9 100644 --- a/download_strategies.go +++ b/download_strategies.go @@ -77,7 +77,7 @@ func (s *DefaultDownloadStrategy) FillRequests(t *torrent, c *connection) (piece piece := t.Pieces[pieceIndex] if !piece.EverHashed { pieces = append(pieces, int(pieceIndex)) - return + continue } for chunkSpec := range t.Pieces[pieceIndex].PendingChunkSpecs { r := request{pieceIndex, chunkSpec} -- 2.48.1