From bdad8d93095dcb387d9b1a9d94fd93b5a83dde82 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Fri, 14 Feb 2020 15:34:21 +0000 Subject: [PATCH] make extended signatures mandatory --- .../main/groovy/com/muwire/core/connection/Connection.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/groovy/com/muwire/core/connection/Connection.groovy b/core/src/main/groovy/com/muwire/core/connection/Connection.groovy index 39b9ab82..b587baf3 100644 --- a/core/src/main/groovy/com/muwire/core/connection/Connection.groovy +++ b/core/src/main/groovy/com/muwire/core/connection/Connection.groovy @@ -255,7 +255,6 @@ abstract class Connection implements Closeable { return } - // TODO: make this mandatory at some point byte[] sig2 = null long queryTime = 0 if (search.sig2 != null) { @@ -278,8 +277,10 @@ abstract class Connection implements Closeable { return } } - } else + } else { log.info("no extended signature in query") + return + } SearchEvent searchEvent = new SearchEvent(searchTerms : search.keywords, searchHash : infohash,