From 3c9883785a7974a5743ad275a138708043c08607 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Fri, 31 May 2019 15:55:16 +0100 Subject: [PATCH] implement dropping of connections --- .../muwire/core/connection/UltrapeerConnectionManager.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/groovy/com/muwire/core/connection/UltrapeerConnectionManager.groovy b/core/src/main/groovy/com/muwire/core/connection/UltrapeerConnectionManager.groovy index c4e9f4ec..367c61e8 100644 --- a/core/src/main/groovy/com/muwire/core/connection/UltrapeerConnectionManager.groovy +++ b/core/src/main/groovy/com/muwire/core/connection/UltrapeerConnectionManager.groovy @@ -32,8 +32,8 @@ class UltrapeerConnectionManager extends ConnectionManager { } @Override public void drop(Destination d) { - // TODO Auto-generated method stub - + peerConnections.get(d)?.close() + leafConnections.get(d)?.close() } void onQueryEvent(QueryEvent e) {