From: David Roden Date: Tue, 14 Oct 2014 12:19:08 +0000 (+0200) Subject: If the node simply closes the connection, log that, too. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=862e0e39bed0feb5a1940014a7653da12551fe2a;p=jSite.git If the node simply closes the connection, log that, too. --- 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) {