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