diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index b9ddb69d9..dea740fce 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -1929,7 +1929,7 @@ namespace libtorrent // calling disconnect_if_redundant, otherwise we may disconnect even if // we are interested if (!t->has_piece_passed(index) - && !t->is_seed() + && !t->is_upload_only() && !is_interesting() && (!t->has_picker() || t->picker().piece_priority(index) != 0)) t->peer_is_interesting(*this);