If the node simply closes the connection, log that, too. additional-logging
authorDavid Roden <d.roden@xplosion.de>
Tue, 14 Oct 2014 12:19:08 +0000 (14:19 +0200)
committerDavid Roden <d.roden@xplosion.de>
Tue, 14 Oct 2014 12:19:28 +0000 (14:19 +0200)
src/main/java/de/todesbaum/util/freenet/fcp2/Connection.java

index fca1242..eccc89b 100644 (file)
@@ -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) {