From 862e0e39bed0feb5a1940014a7653da12551fe2a Mon Sep 17 00:00:00 2001 From: David Roden Date: Tue, 14 Oct 2014 14:19:08 +0200 Subject: [PATCH] If the node simply closes the connection, log that, too. --- src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java b/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java index fca1242..eccc89b 100644 --- a/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java +++ b/src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java @@ -322,6 +322,7 @@ public class Connection { line = nodeReader.readLine(); // System.err.println("> " + line); if (line == null) { + logger.fine("Connection was closed."); break; } if (message == null) { -- 2.7.4