summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorSimon Rettberg2023-09-21 11:32:52 +0200
committerSimon Rettberg2023-09-21 11:32:52 +0200
commitf5750337223db4339c21e42c56115cbef5efde2c (patch)
tree8aa6bb154dc11614804750f070859e7662158a60 /src/main/java
parent[libvirt] If cpu mode is passtrough, pass through cpu cache info as well (diff)
downloadmaster-sync-shared-f5750337223db4339c21e42c56115cbef5efde2c.tar.gz
master-sync-shared-f5750337223db4339c21e42c56115cbef5efde2c.tar.xz
master-sync-shared-f5750337223db4339c21e42c56115cbef5efde2c.zip
[filetransfer] Don't print stack trace if handshake times out
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/openslx/filetransfer/Listener.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/filetransfer/Listener.java b/src/main/java/org/openslx/filetransfer/Listener.java
index 7a7393a..0cbd921 100644
--- a/src/main/java/org/openslx/filetransfer/Listener.java
+++ b/src/main/java/org/openslx/filetransfer/Listener.java
@@ -143,6 +143,8 @@ public class Listener
} catch ( SSLException e ) {
Transfer.safeClose( connection );
log.warn( "SSL error when acceping client " + connection.getInetAddress().getHostAddress() );
+ } catch ( SocketTimeoutException e ) {
+ // No reason to log, probably - connection where client did nothing after connecting.
} catch ( Exception e ) {
Transfer.safeClose( connection );
log.warn( "Error handling client", e );