summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/openslx/filetransfer/Listener.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/filetransfer/Listener.java b/src/main/java/org/openslx/filetransfer/Listener.java
index fc990fc..93d2a76 100644
--- a/src/main/java/org/openslx/filetransfer/Listener.java
+++ b/src/main/java/org/openslx/filetransfer/Listener.java
@@ -146,6 +146,7 @@ public class Listener
log.warn( "SSL error when acceping client " + connection.getInetAddress().getHostAddress() );
} catch ( SocketException e ) {
// No reason to log, probably - connection where client did nothing after connecting.
+ Transfer.safeClose( connection );
} catch ( Exception e ) {
Transfer.safeClose( connection );
log.warn( "Error handling client", e );